rpmdb.h   rpmdb.h 
skipping to change at line 18 skipping to change at line 18
*/ */
#include <assert.h> #include <assert.h>
#include <mire.h> #include <mire.h>
#include <rpmtypes.h> #include <rpmtypes.h>
#include <rpmtag.h> /* XXX Header typedef */ #include <rpmtag.h> /* XXX Header typedef */
#if defined(_RPMDB_INTERNAL) #if defined(_RPMDB_INTERNAL)
#if defined(WITH_DB) #if defined(WITH_DB)
#include <db51/db.h> #include <db.h>
#else #else
#include "db_emu.h" #include "db_emu.h"
#endif #endif
#endif #endif
#if defined(_RPMDB_INTERNAL) #if defined(_RPMDB_INTERNAL)
#define DBT_INIT /*@-fullinitblock@*/ {0} /*@-fullinitblock@*/ /* - Wno-missing-field-initializers */ #define DBT_INIT /*@-fullinitblock@*/ {0} /*@-fullinitblock@*/ /* - Wno-missing-field-initializers */
#endif #endif
/*@-exportlocal@*/ /*@-exportlocal@*/
skipping to change at line 392 skipping to change at line 392
/* transaction sub-system parameters */ /* transaction sub-system parameters */
#if 0 #if 0
int (*dbi_tx_recover) (DB_ENV *dbenv, DBT *log_rec, int (*dbi_tx_recover) (DB_ENV *dbenv, DBT *log_rec,
DB_LSN *lsnp, int redo, void *info) DB_LSN *lsnp, int redo, void *info)
/*@globals fileSystem @*/ /*@globals fileSystem @*/
/*@modifies fileSystem @*/; /*@modifies fileSystem @*/;
#endif #endif
/* dbinfo parameters */ /* dbinfo parameters */
int dbi_pagesize; /*!< (fs blksize) */ int dbi_pagesize; /*!< (fs blksize) */
int dbi_heapsize; /*!< DB_HEAP */
/*@unused@*/ /*@null@*/ /*@unused@*/ /*@null@*/
void * (*dbi_malloc) (size_t nbytes) void * (*dbi_malloc) (size_t nbytes)
/*@*/; /*@*/;
/* hash access parameters */ /* hash access parameters */
unsigned int dbi_h_ffactor; /*!< */ unsigned int dbi_h_ffactor; /*!< */
unsigned int (*dbi_h_hash_fcn) (DB *, const void *bytes, unsigned int (*dbi_h_hash_fcn) (DB *, const void *bytes,
unsigned int length) unsigned int length)
/*@*/; /*@*/;
unsigned int dbi_h_nelem; /*!< */ unsigned int dbi_h_nelem; /*!< */
unsigned int dbi_h_flags; /*!< DB_DUP, DB_DUPSORT */ unsigned int dbi_h_flags; /*!< DB_DUP, DB_DUPSORT */
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 rpmmacro.h   rpmmacro.h 
skipping to change at line 211 skipping to change at line 211
/*@globals rpmGlobalMacroContext @*/ /*@globals rpmGlobalMacroContext @*/
/*@modifies mc, rpmGlobalMacroContext @*/; /*@modifies mc, rpmGlobalMacroContext @*/;
typedef enum rpmCompressedMagic_e { typedef enum rpmCompressedMagic_e {
COMPRESSED_NOT = 0, /*!< not compressed */ COMPRESSED_NOT = 0, /*!< not compressed */
COMPRESSED_OTHER = 1, /*!< gzip can handle */ COMPRESSED_OTHER = 1, /*!< gzip can handle */
COMPRESSED_BZIP2 = 2, /*!< bzip2 can handle */ COMPRESSED_BZIP2 = 2, /*!< bzip2 can handle */
COMPRESSED_ZIP = 3, /*!< unzip can handle */ COMPRESSED_ZIP = 3, /*!< unzip can handle */
COMPRESSED_LZOP = 4, /*!< lzop can handle */ COMPRESSED_LZOP = 4, /*!< lzop can handle */
COMPRESSED_LZMA = 5, /*!< lzma can handle */ COMPRESSED_LZMA = 5, /*!< lzma can handle */
COMPRESSED_XZ = 6 /*!< xz can handle */ COMPRESSED_XZ = 6, /*!< xz can handle */
COMPRESSED_LRZIP = 7, /*!< lrzip can handle */
COMPRESSED_LZIP = 8 /*!< lzip can handle */
} rpmCompressedMagic; } rpmCompressedMagic;
/** /**
* Return type of compression used in file. * Return type of compression used in file.
* @param file name of file * @param file name of file
* @retval compressed address of compression type * @retval compressed address of compression type
* @return 0 on success, 1 on I/O error * @return 0 on success, 1 on I/O error
*/ */
int isCompressed(const char * file, /*@out@*/ rpmCompressedMagic * compress ed) int isCompressed(const char * file, /*@out@*/ rpmCompressedMagic * compress ed)
/*@globals h_errno, fileSystem, internalState @*/ /*@globals h_errno, fileSystem, internalState @*/
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added


 rpmtag.h   rpmtag.h 
skipping to change at line 152 skipping to change at line 152
#define RPMDBI_REMOVED 4 /* Removed package headers. */ #define RPMDBI_REMOVED 4 /* Removed package headers. */
#define RPMDBI_AVAILABLE 5 /* Available package headers . */ #define RPMDBI_AVAILABLE 5 /* Available package headers . */
#define RPMDBI_HDLIST 6 /* (rpmgi) Header list. */ #define RPMDBI_HDLIST 6 /* (rpmgi) Header list. */
#define RPMDBI_ARGLIST 7 /* (rpmgi) Argument list. */ #define RPMDBI_ARGLIST 7 /* (rpmgi) Argument list. */
#define RPMDBI_FTSWALK 8 /* (rpmgi) File tree walk. */ #define RPMDBI_FTSWALK 8 /* (rpmgi) File tree walk. */
#define RPMDBI_SEQNO 9 /* Sequence numbers. */ #define RPMDBI_SEQNO 9 /* Sequence numbers. */
#define RPMDBI_BTREE 10 /* (development) Generic DB_ BTREE. */ #define RPMDBI_BTREE 10 /* (development) Generic DB_ BTREE. */
#define RPMDBI_HASH 11 /* (development) Generic DB_ HASH. */ #define RPMDBI_HASH 11 /* (development) Generic DB_ HASH. */
#define RPMDBI_QUEUE 12 /* (development) Generic DB_ QUEUE. */ #define RPMDBI_QUEUE 12 /* (development) Generic DB_ QUEUE. */
#define RPMDBI_RECNO 13 /* (development) Generic DB_ RECNO. */ #define RPMDBI_RECNO 13 /* (development) Generic DB_ RECNO. */
#define RPMDBI_REPACKAGES 14 /* Re-packaged package paths #define RPMDBI_HEAP 14 /* (development) Generic DB_
. */ HEAP. */
#define RPMDBI_REPOSITORY 15 /* Repository URI's. */ /* 15 unused */
#define RPMDBI_REPACKAGES 16 /* Re-packaged package paths
. */
#define RPMDBI_REPOSITORY 17 /* Repository URI's. */
/** \ingroup header /** \ingroup header
* Tags identify data in package headers. * Tags identify data in package headers.
* @note tags should not have value 0! * @note tags should not have value 0!
*/ */
enum rpmTag_e { enum rpmTag_e {
RPMTAG_HEADERIMAGE = HEADER_IMAGE, /*!< internal Curren t image. */ RPMTAG_HEADERIMAGE = HEADER_IMAGE, /*!< internal Curren t image. */
RPMTAG_HEADERSIGNATURES = HEADER_SIGNATURES, /*!< internal Signat ures. */ RPMTAG_HEADERSIGNATURES = HEADER_SIGNATURES, /*!< internal Signat ures. */
RPMTAG_HEADERIMMUTABLE = HEADER_IMMUTABLE, /*!< x Original imag e. */ RPMTAG_HEADERIMMUTABLE = HEADER_IMMUTABLE, /*!< x Original imag e. */
 End of changes. 1 change blocks. 
3 lines changed or deleted 6 lines changed or added


 rpmversion.h   rpmversion.h 
skipping to change at line 81 skipping to change at line 81
/* link-time information */ /* link-time information */
extern uint32_t rpmlibVersion(void) extern uint32_t rpmlibVersion(void)
/*@*/; /*@*/;
extern uint32_t rpmlibTimestamp(void) extern uint32_t rpmlibTimestamp(void)
/*@*/; /*@*/;
extern uint32_t rpmlibVendor(void) extern uint32_t rpmlibVendor(void)
/*@*/; /*@*/;
/* compile-time information */ /* compile-time information */
#define RPMLIB_VERSION RPMLIB_VERSION_ENCODE(5,4,r,2,0,_) #define RPMLIB_VERSION RPMLIB_VERSION_ENCODE(5,4,r,3,0,_)
#define RPMLIB_TIMESTAMP RPMLIB_TIMESTAMP_ENCODE(2011,6,2,0,0) #define RPMLIB_TIMESTAMP RPMLIB_TIMESTAMP_ENCODE(2011,9,5,0,0)
#define RPMLIB_VENDOR RPMLIB_VENDOR_ENCODE('R','P','M','5') #define RPMLIB_VENDOR RPMLIB_VENDOR_ENCODE('R','P','M','5')
/* RPM release version encoding */ /* RPM release version encoding */
#define RPMLIB_VERSION_ENCODE(major,minor,type,micro,revision,snap) \ #define RPMLIB_VERSION_ENCODE(major,minor,type,micro,revision,snap) \
( RPMLIB_BITFIELD_SET(31,27,(major)) \ ( RPMLIB_BITFIELD_SET(31,27,(major)) \
| RPMLIB_BITFIELD_SET(26,21,(minor)) \ | RPMLIB_BITFIELD_SET(26,21,(minor)) \
| RPMLIB_BITFIELD_SET(20,18,RPMLIB_VERSION_ENCODE_T(type)) \ | RPMLIB_BITFIELD_SET(20,18,RPMLIB_VERSION_ENCODE_T(type)) \
| RPMLIB_BITFIELD_SET(17,10,(micro)) \ | RPMLIB_BITFIELD_SET(17,10,(micro)) \
| RPMLIB_BITFIELD_SET(9,1,(revision)) \ | RPMLIB_BITFIELD_SET(9,1,(revision)) \
| RPMLIB_BITFIELD_SET(0,0,RPMLIB_VERSION_ENCODE_S(snap))) | RPMLIB_BITFIELD_SET(0,0,RPMLIB_VERSION_ENCODE_S(snap)))
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/