rpmfileutil.h   rpmfileutil.h 
skipping to change at line 26 skipping to change at line 26
#endif #endif
/** \ingroup rpmfileutil /** \ingroup rpmfileutil
*/ */
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_LZMA = 4, /*!< lzma can handle */ COMPRESSED_LZMA = 4, /*!< lzma can handle */
COMPRESSED_XZ = 5 /*!< xz can handle */ COMPRESSED_XZ = 5, /*!< xz can handle */
COMPRESSED_LZIP = 6, /*!< lzip can handle */
COMPRESSED_LRZIP = 7 /*!< lrzip can handle */
} rpmCompressedMagic; } rpmCompressedMagic;
/** \ingroup rpmfileutil /** \ingroup rpmfileutil
* Calculate a file digest and size. * Calculate a file digest and size.
* @param algo digest algorithm * @param algo digest algorithm
* @param fn file name * @param fn file name
* @param asAscii return digest as ascii string? * @param asAscii return digest as ascii string?
* @retval digest address of calculated digest * @retval digest address of calculated digest
* @retval *fsizep file size pointer (or NULL) * @retval *fsizep file size pointer (or NULL)
* @return 0 on success, 1 on error * @return 0 on success, 1 on error
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added


 rpmspec.h   rpmspec.h 
skipping to change at line 68 skipping to change at line 68
/* Iterator for spec sources */ /* Iterator for spec sources */
rpmSpecSrcIter rpmSpecSrcIterInit(rpmSpec spec); rpmSpecSrcIter rpmSpecSrcIterInit(rpmSpec spec);
rpmSpecSrc rpmSpecSrcIterNext(rpmSpecSrcIter iter); rpmSpecSrc rpmSpecSrcIterNext(rpmSpecSrcIter iter);
rpmSpecSrcIter rpmSpecSrcIterFree(rpmSpecSrcIter iter); rpmSpecSrcIter rpmSpecSrcIterFree(rpmSpecSrcIter iter);
/* Getters for spec source attributes */ /* Getters for spec source attributes */
rpmSourceFlags rpmSpecSrcFlags(rpmSpecSrc src); rpmSourceFlags rpmSpecSrcFlags(rpmSpecSrc src);
int rpmSpecSrcNum(rpmSpecSrc src); int rpmSpecSrcNum(rpmSpecSrc src);
const char * rpmSpecSrcFilename(rpmSpecSrc src, int full); const char * rpmSpecSrcFilename(rpmSpecSrc src, int full);
/* Retrieve parsed spec script section (RPMBUILD_PREP, RPMBUILD_BUILD etc) /*
*/ * Retrieve parsed spec script section (RPMBUILD_PREP, RPMBUILD_BUILD etc).
* As a special case, RPMBUILD_NONE as section returns the entire spec in
* preprocessed (macros expanded etc) format.
*/
const char * rpmSpecGetSection(rpmSpec spec, int section); const char * rpmSpecGetSection(rpmSpec spec, int section);
/** \ingroup rpmbuild /** \ingroup rpmbuild
* Function to query spec file(s). * Function to query spec file(s).
* @param ts transaction set * @param ts transaction set
* @param qva parsed query/verify options * @param qva parsed query/verify options
* @param arg query argument * @param arg query argument
* @return 0 on success, else no. of failures * @return 0 on success, else no. of failures
*/ */
int rpmspecQuery(rpmts ts, QVA_t qva, const char * arg); int rpmspecQuery(rpmts ts, QVA_t qva, const char * arg);
 End of changes. 1 change blocks. 
2 lines changed or deleted 5 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/