Typedefs | |
typedef enum rpmTag_e | rpmTag |
Tags identify data in package headers. | |
typedef enum rpmTagClass_e | rpmTagClass |
The classes of data in tags from headers. | |
Enumerations | |
enum | rpmTag_e { RPMTAG_HEADERIMAGE = 61, RPMTAG_HEADERSIGNATURES = 62, RPMTAG_HEADERIMMUTABLE = 63, RPMTAG_HEADERREGIONS = 64, RPMTAG_HEADERI18NTABLE = 100, RPMTAG_SIG_BASE = 256, RPMTAG_SIGSIZE = RPMTAG_SIG_BASE+1, RPMTAG_SIGLEMD5_1 = RPMTAG_SIG_BASE+2, RPMTAG_SIGPGP = RPMTAG_SIG_BASE+3, RPMTAG_SIGLEMD5_2 = RPMTAG_SIG_BASE+4, RPMTAG_SIGMD5 = RPMTAG_SIG_BASE+5 } |
Tags identify data in package headers. More... | |
enum | rpmTagClass_e { RPM_NULL_CLASS = 0, RPM_NUMERIC_CLASS = 1, RPM_STRING_CLASS = 2, RPM_BINARY_CLASS = 3 } |
The classes of data in tags from headers. More... | |
Functions | |
const char * | rpmTagGetName (rpmTag tag) |
Return tag name from value. | |
rpmTagType | rpmTagGetType (rpmTag tag) |
Return tag data type from value. | |
rpmTagClass | rpmTagGetClass (rpmTag tag) |
Return tag data class from value. | |
rpmTag | rpmTagGetValue (const char *tagstr) |
Return tag value from name. | |
rpmTagClass | rpmTagTypeGetClass (rpmTagType type) |
Return data class of type. | |
int | rpmTagGetNames (rpmtd tagnames, int fullname) |
Return known rpm tag names, sorted by name. |
Tags identify data in package headers.
typedef enum rpmTagClass_e rpmTagClass |
The classes of data in tags from headers.
enum rpmTag_e |
Tags identify data in package headers.
enum rpmTagClass_e |
rpmTagClass rpmTagGetClass | ( | rpmTag | tag | ) |
Return tag data class from value.
tag | tag value |
const char* rpmTagGetName | ( | rpmTag | tag | ) |
Return tag name from value.
tag | tag value |
int rpmTagGetNames | ( | rpmtd | tagnames, | |
int | fullname | |||
) |
Return known rpm tag names, sorted by name.
tagnames | tag container of string array type |
fullname | return short or full name |
rpmTagType rpmTagGetType | ( | rpmTag | tag | ) |
Return tag data type from value.
tag | tag value |
rpmTag rpmTagGetValue | ( | const char * | tagstr | ) |
Return tag value from name.
tagstr | name of tag |
rpmTagClass rpmTagTypeGetClass | ( | rpmTagType | type | ) |
Return data class of type.
type | tag type |