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 72 #define RPMTAG_N RPMTAG_NAME 74 #define RPMTAG_V RPMTAG_VERSION 76 #define RPMTAG_R RPMTAG_RELEASE 78 #define RPMTAG_E RPMTAG_EPOCH 111 #define RPMTAG_FILEMD5S RPMTAG_FILEDIGESTS 124 #define RPMTAG_PROVIDES RPMTAG_PROVIDENAME 125 #define RPMTAG_P RPMTAG_PROVIDENAME 128 #define RPMTAG_REQUIRES RPMTAG_REQUIRENAME 134 #define RPMTAG_CONFLICTS RPMTAG_CONFLICTNAME 135 #define RPMTAG_C RPMTAG_CONFLICTNAME 163 #define RPMTAG_OBSOLETES RPMTAG_OBSOLETENAME 164 #define RPMTAG_O RPMTAG_OBSOLETENAME 231 #define RPMTAG_OLDSUGGESTS RPMTAG_OLDSUGGESTSNAME 235 #define RPMTAG_OLDENHANCES RPMTAG_OLDENHANCESNAME 240 #define RPMTAG_SVNID RPMTAG_CVSID 322 #define RPMTAG_RECOMMENDS RPMTAG_RECOMMENDNAME 326 #define RPMTAG_SUGGESTS RPMTAG_SUGGESTNAME 330 #define RPMTAG_SUPPLEMENTS RPMTAG_SUPPLEMENTNAME 334 #define RPMTAG_ENHANCES RPMTAG_ENHANCENAME 380 #define RPMTAG_EXTERNAL_TAG 1000000 439 #define RPM_MIN_TYPE 0 450 #define RPM_MAX_TYPE 9 451 #define RPM_FORCEFREE_TYPE 0xff 452 #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.