4 #include <rpm/rpmtypes.h>
14 #define HEADER_IMAGE 61
15 #define HEADER_SIGNATURES 62
16 #define HEADER_IMMUTABLE 63
17 #define HEADER_REGIONS 64
18 #define HEADER_I18NTABLE 100
19 #define HEADER_SIGBASE 256
20 #define HEADER_TAGBASE 1000
47 #define RPMTAG_PKGID RPMTAG_SIGMD5
57 #define RPMTAG_HDRID RPMTAG_SHA1HEADER
62 #define RPMTAG_N RPMTAG_NAME
64 #define RPMTAG_V RPMTAG_VERSION
66 #define RPMTAG_R RPMTAG_RELEASE
68 #define RPMTAG_E RPMTAG_EPOCH
101 #define RPMTAG_FILEMD5S RPMTAG_FILEDIGESTS
114 #define RPMTAG_PROVIDES RPMTAG_PROVIDENAME
115 #define RPMTAG_P RPMTAG_PROVIDENAME
118 #define RPMTAG_REQUIRES RPMTAG_REQUIRENAME
124 #define RPMTAG_CONFLICTS RPMTAG_CONFLICTNAME
125 #define RPMTAG_C RPMTAG_CONFLICTNAME
153 #define RPMTAG_OBSOLETES RPMTAG_OBSOLETENAME
154 #define RPMTAG_O RPMTAG_OBSOLETENAME
221 #define RPMTAG_OLDSUGGESTS RPMTAG_OLDSUGGESTSNAME
225 #define RPMTAG_OLDENHANCES RPMTAG_OLDENHANCESNAME
230 #define RPMTAG_SVNID RPMTAG_CVSID
312 #define RPMTAG_RECOMMENDS RPMTAG_RECOMMENDNAME
316 #define RPMTAG_SUGGESTS RPMTAG_SUGGESTNAME
320 #define RPMTAG_SUPPLEMENTS RPMTAG_SUPPLEMENTNAME
324 #define RPMTAG_ENHANCES RPMTAG_ENHANCENAME
335 #define RPMTAG_EXTERNAL_TAG 1000000
385 #define RPM_MIN_TYPE 0
396 #define RPM_MAX_TYPE 9
397 #define RPM_FORCEFREE_TYPE 0xff
398 #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.