10 #include <rpm/rpmtypes.h> 20 #define HEADER_IMAGE 61 21 #define HEADER_SIGNATURES 62 22 #define HEADER_IMMUTABLE 63 23 #define HEADER_REGIONS 64 24 #define HEADER_I18NTABLE 100 25 #define HEADER_SIGBASE 256 26 #define HEADER_TAGBASE 1000 53 #define RPMTAG_PKGID RPMTAG_SIGMD5 63 #define RPMTAG_HDRID RPMTAG_SHA1HEADER 70 #define RPMTAG_N RPMTAG_NAME 72 #define RPMTAG_V RPMTAG_VERSION 74 #define RPMTAG_R RPMTAG_RELEASE 76 #define RPMTAG_E RPMTAG_EPOCH 109 #define RPMTAG_FILEMD5S RPMTAG_FILEDIGESTS 122 #define RPMTAG_PROVIDES RPMTAG_PROVIDENAME 123 #define RPMTAG_P RPMTAG_PROVIDENAME 126 #define RPMTAG_REQUIRES RPMTAG_REQUIRENAME 132 #define RPMTAG_CONFLICTS RPMTAG_CONFLICTNAME 133 #define RPMTAG_C RPMTAG_CONFLICTNAME 161 #define RPMTAG_OBSOLETES RPMTAG_OBSOLETENAME 162 #define RPMTAG_O RPMTAG_OBSOLETENAME 229 #define RPMTAG_OLDSUGGESTS RPMTAG_OLDSUGGESTSNAME 233 #define RPMTAG_OLDENHANCES RPMTAG_OLDENHANCESNAME 238 #define RPMTAG_SVNID RPMTAG_CVSID 320 #define RPMTAG_RECOMMENDS RPMTAG_RECOMMENDNAME 324 #define RPMTAG_SUGGESTS RPMTAG_SUGGESTNAME 328 #define RPMTAG_SUPPLEMENTS RPMTAG_SUPPLEMENTNAME 332 #define RPMTAG_ENHANCES RPMTAG_ENHANCENAME 375 #define RPMTAG_EXTERNAL_TAG 1000000 432 #define RPM_MIN_TYPE 0 443 #define RPM_MAX_TYPE 9 444 #define RPM_FORCEFREE_TYPE 0xff 445 #define RPM_MASK_TYPE 0x0000ffff rpmTagType rpmTagGetType(rpmTagVal tag)
Return tag data type from value.
int rpmTagGetNames(rpmtd tagnames, int fullname)
Return known rpm tag names, sorted by name.
#define HEADER_SIGNATURES
#define HEADER_IMAGE
Header private tags.
rpmSigTag_e
Tags found in signature header from package.
rpmTagClass rpmTagGetClass(rpmTagVal tag)
Return tag data class from value.
rpmTagClass rpmTagTypeGetClass(rpmTagType type)
Return data class of type.
rpmTagVal rpmTagGetValue(const char *tagstr)
Return tag value from name.
enum rpmTag_e rpmTag
Tags identify data in package headers.
rpmTagClass_e
The classes of data in tags from headers.
rpmFlags rpmTagReturnType
rpmTag_e
Tags identify data in package headers.
enum rpmSigTag_e rpmSigTag
Tags found in signature header from package.
rpmDbiTag_e
Rpm database index tags.
Container for rpm tag data (from headers or extensions).
enum rpmTagClass_e rpmTagClass
The classes of data in tags from headers.
const char * rpmTagGetName(rpmTagVal tag)
Return tag name from value.
enum rpmDbiTag_e rpmDbiTag
Rpm database index tags.
rpmTagType rpmTagGetTagType(rpmTagVal tag)
Return tag data type from value.
rpmTagReturnType rpmTagGetReturnType(rpmTagVal tag)
Return tag data type from value.