rpmtag.h
Go to the documentation of this file.
#ifndef _RPMTAG_H
#define _RPMTAG_H
#include <rpm/rpmtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#define HEADER_IMAGE 61
#define HEADER_SIGNATURES 62
#define HEADER_IMMUTABLE 63
#define HEADER_REGIONS 64
#define HEADER_I18NTABLE 100
#define HEADER_SIGBASE 256
#define HEADER_TAGBASE 1000
typedef enum rpmTag_e {
RPMTAG_NOT_FOUND = -1,
RPMTAG_HEADERIMAGE = HEADER_IMAGE,
RPMTAG_HEADERSIGNATURES = HEADER_SIGNATURES,
RPMTAG_HEADERIMMUTABLE = HEADER_IMMUTABLE,
RPMTAG_HEADERREGIONS = HEADER_REGIONS,
RPMTAG_HEADERI18NTABLE = HEADER_I18NTABLE, /* s[] !< I18N string locales. */
/* Retrofit (and uniqify) signature tags for use by rpmTagGetName() and rpmQuery. */
/* the md5 sum was broken *twice* on big endian machines */
/* XXX 2nd underscore prevents tagTable generation */
RPMTAG_SIG_BASE = HEADER_SIGBASE,
RPMTAG_SIGSIZE = RPMTAG_SIG_BASE+1, /* i */
RPMTAG_SIGLEMD5_1 = RPMTAG_SIG_BASE+2, /* internal - obsolete */
RPMTAG_SIGPGP = RPMTAG_SIG_BASE+3, /* x */
RPMTAG_SIGLEMD5_2 = RPMTAG_SIG_BASE+4, /* x internal - obsolete */
RPMTAG_SIGMD5 = RPMTAG_SIG_BASE+5, /* x */
#define RPMTAG_PKGID RPMTAG_SIGMD5 /* x */
RPMTAG_SIGGPG = RPMTAG_SIG_BASE+6, /* x */
RPMTAG_SIGPGP5 = RPMTAG_SIG_BASE+7, /* internal - obsolete */
RPMTAG_BADSHA1_1 = RPMTAG_SIG_BASE+8, /* internal - obsolete */
RPMTAG_BADSHA1_2 = RPMTAG_SIG_BASE+9, /* internal - obsolete */
RPMTAG_PUBKEYS = RPMTAG_SIG_BASE+10, /* s[] */
RPMTAG_DSAHEADER = RPMTAG_SIG_BASE+11, /* x */
RPMTAG_RSAHEADER = RPMTAG_SIG_BASE+12, /* x */
RPMTAG_SHA1HEADER = RPMTAG_SIG_BASE+13, /* s */
#define RPMTAG_HDRID RPMTAG_SHA1HEADER /* s */
RPMTAG_LONGSIGSIZE = RPMTAG_SIG_BASE+14, /* l */
RPMTAG_LONGARCHIVESIZE = RPMTAG_SIG_BASE+15, /* l */
RPMTAG_NAME = 1000, /* s */
#define RPMTAG_N RPMTAG_NAME /* s */
RPMTAG_VERSION = 1001, /* s */
#define RPMTAG_V RPMTAG_VERSION /* s */
RPMTAG_RELEASE = 1002, /* s */
#define RPMTAG_R RPMTAG_RELEASE /* s */
RPMTAG_EPOCH = 1003, /* i */
#define RPMTAG_E RPMTAG_EPOCH /* i */
RPMTAG_SUMMARY = 1004, /* s{} */
RPMTAG_DESCRIPTION = 1005, /* s{} */
RPMTAG_BUILDTIME = 1006, /* i */
RPMTAG_BUILDHOST = 1007, /* s */
RPMTAG_INSTALLTIME = 1008, /* i */
RPMTAG_SIZE = 1009, /* i */
RPMTAG_DISTRIBUTION = 1010, /* s */
RPMTAG_VENDOR = 1011, /* s */
RPMTAG_GIF = 1012, /* x */
RPMTAG_XPM = 1013, /* x */
RPMTAG_LICENSE = 1014, /* s */
RPMTAG_PACKAGER = 1015, /* s */
RPMTAG_GROUP = 1016, /* s{} */
RPMTAG_CHANGELOG = 1017, /* s[] internal */
RPMTAG_SOURCE = 1018, /* s[] */
RPMTAG_PATCH = 1019, /* s[] */
RPMTAG_URL = 1020, /* s */
RPMTAG_OS = 1021, /* s legacy used int */
RPMTAG_ARCH = 1022, /* s legacy used int */
RPMTAG_PREIN = 1023, /* s */
RPMTAG_POSTIN = 1024, /* s */
RPMTAG_PREUN = 1025, /* s */
RPMTAG_POSTUN = 1026, /* s */
RPMTAG_OLDFILENAMES = 1027, /* s[] obsolete */
RPMTAG_FILESIZES = 1028, /* i[] */
RPMTAG_FILESTATES = 1029, /* c[] */
RPMTAG_FILEMODES = 1030, /* h[] */
RPMTAG_FILEUIDS = 1031, /* i[] internal - obsolete */
RPMTAG_FILEGIDS = 1032, /* i[] internal - obsolete */
RPMTAG_FILERDEVS = 1033, /* h[] */
RPMTAG_FILEMTIMES = 1034, /* i[] */
RPMTAG_FILEDIGESTS = 1035, /* s[] */
#define RPMTAG_FILEMD5S RPMTAG_FILEDIGESTS /* s[] */
RPMTAG_FILELINKTOS = 1036, /* s[] */
RPMTAG_FILEFLAGS = 1037, /* i[] */
RPMTAG_ROOT = 1038, /* internal - obsolete */
RPMTAG_FILEUSERNAME = 1039, /* s[] */
RPMTAG_FILEGROUPNAME = 1040, /* s[] */
RPMTAG_EXCLUDE = 1041, /* internal - obsolete */
RPMTAG_EXCLUSIVE = 1042, /* internal - obsolete */
RPMTAG_ICON = 1043, /* x */
RPMTAG_SOURCERPM = 1044, /* s */
RPMTAG_FILEVERIFYFLAGS = 1045, /* i[] */
RPMTAG_ARCHIVESIZE = 1046, /* i */
RPMTAG_PROVIDENAME = 1047, /* s[] */
#define RPMTAG_PROVIDES RPMTAG_PROVIDENAME /* s[] */
#define RPMTAG_P RPMTAG_PROVIDENAME /* s[] */
RPMTAG_REQUIREFLAGS = 1048, /* i[] */
RPMTAG_REQUIRENAME = 1049, /* s[] */
#define RPMTAG_REQUIRES RPMTAG_REQUIRENAME /* s[] */
RPMTAG_REQUIREVERSION = 1050, /* s[] */
RPMTAG_NOSOURCE = 1051, /* i[] */
RPMTAG_NOPATCH = 1052, /* i[] */
RPMTAG_CONFLICTFLAGS = 1053, /* i[] */
RPMTAG_CONFLICTNAME = 1054, /* s[] */
#define RPMTAG_CONFLICTS RPMTAG_CONFLICTNAME /* s[] */
#define RPMTAG_C RPMTAG_CONFLICTNAME /* s[] */
RPMTAG_CONFLICTVERSION = 1055, /* s[] */
RPMTAG_DEFAULTPREFIX = 1056, /* s internal - deprecated */
RPMTAG_BUILDROOT = 1057, /* s internal - obsolete */
RPMTAG_INSTALLPREFIX = 1058, /* s internal - deprecated */
RPMTAG_EXCLUDEARCH = 1059, /* s[] */
RPMTAG_EXCLUDEOS = 1060, /* s[] */
RPMTAG_EXCLUSIVEARCH = 1061, /* s[] */
RPMTAG_EXCLUSIVEOS = 1062, /* s[] */
RPMTAG_AUTOREQPROV = 1063, /* s internal */
RPMTAG_RPMVERSION = 1064, /* s */
RPMTAG_TRIGGERSCRIPTS = 1065, /* s[] */
RPMTAG_TRIGGERNAME = 1066, /* s[] */
RPMTAG_TRIGGERVERSION = 1067, /* s[] */
RPMTAG_TRIGGERFLAGS = 1068, /* i[] */
RPMTAG_TRIGGERINDEX = 1069, /* i[] */
RPMTAG_VERIFYSCRIPT = 1079, /* s */
RPMTAG_CHANGELOGTIME = 1080, /* i[] */
RPMTAG_CHANGELOGNAME = 1081, /* s[] */
RPMTAG_CHANGELOGTEXT = 1082, /* s[] */
RPMTAG_BROKENMD5 = 1083, /* internal - obsolete */
RPMTAG_PREREQ = 1084, /* internal */
RPMTAG_PREINPROG = 1085, /* s[] */
RPMTAG_POSTINPROG = 1086, /* s[] */
RPMTAG_PREUNPROG = 1087, /* s[] */
RPMTAG_POSTUNPROG = 1088, /* s[] */
RPMTAG_BUILDARCHS = 1089, /* s[] */
RPMTAG_OBSOLETENAME = 1090, /* s[] */
#define RPMTAG_OBSOLETES RPMTAG_OBSOLETENAME /* s[] */
#define RPMTAG_O RPMTAG_OBSOLETENAME /* s[] */
RPMTAG_VERIFYSCRIPTPROG = 1091, /* s[] */
RPMTAG_TRIGGERSCRIPTPROG = 1092, /* s[] */
RPMTAG_DOCDIR = 1093, /* internal */
RPMTAG_COOKIE = 1094, /* s */
RPMTAG_FILEDEVICES = 1095, /* i[] */
RPMTAG_FILEINODES = 1096, /* i[] */
RPMTAG_FILELANGS = 1097, /* s[] */
RPMTAG_PREFIXES = 1098, /* s[] */
RPMTAG_INSTPREFIXES = 1099, /* s[] */
RPMTAG_TRIGGERIN = 1100, /* internal */
RPMTAG_TRIGGERUN = 1101, /* internal */
RPMTAG_TRIGGERPOSTUN = 1102, /* internal */
RPMTAG_AUTOREQ = 1103, /* internal */
RPMTAG_AUTOPROV = 1104, /* internal */
RPMTAG_CAPABILITY = 1105, /* i internal - obsolete */
RPMTAG_SOURCEPACKAGE = 1106, /* i */
RPMTAG_OLDORIGFILENAMES = 1107, /* internal - obsolete */
RPMTAG_BUILDPREREQ = 1108, /* internal */
RPMTAG_BUILDREQUIRES = 1109, /* internal */
RPMTAG_BUILDCONFLICTS = 1110, /* internal */
RPMTAG_BUILDMACROS = 1111, /* internal - unused */
RPMTAG_PROVIDEFLAGS = 1112, /* i[] */
RPMTAG_PROVIDEVERSION = 1113, /* s[] */
RPMTAG_OBSOLETEFLAGS = 1114, /* i[] */
RPMTAG_OBSOLETEVERSION = 1115, /* s[] */
RPMTAG_DIRINDEXES = 1116, /* i[] */
RPMTAG_BASENAMES = 1117, /* s[] */
RPMTAG_DIRNAMES = 1118, /* s[] */
RPMTAG_ORIGDIRINDEXES = 1119, /* i[] relocation */
RPMTAG_ORIGBASENAMES = 1120, /* s[] relocation */
RPMTAG_ORIGDIRNAMES = 1121, /* s[] relocation */
RPMTAG_OPTFLAGS = 1122, /* s */
RPMTAG_DISTURL = 1123, /* s */
RPMTAG_PAYLOADFORMAT = 1124, /* s */
RPMTAG_PAYLOADCOMPRESSOR = 1125, /* s */
RPMTAG_PAYLOADFLAGS = 1126, /* s */
RPMTAG_INSTALLCOLOR = 1127, /* i transaction color when installed */
RPMTAG_INSTALLTID = 1128, /* i */
RPMTAG_REMOVETID = 1129, /* i */
RPMTAG_SHA1RHN = 1130, /* internal - obsolete */
RPMTAG_RHNPLATFORM = 1131, /* s internal - obsolete */
RPMTAG_PLATFORM = 1132, /* s */
RPMTAG_PATCHESNAME = 1133, /* s[] deprecated placeholder (SuSE) */
RPMTAG_PATCHESFLAGS = 1134, /* i[] deprecated placeholder (SuSE) */
RPMTAG_PATCHESVERSION = 1135, /* s[] deprecated placeholder (SuSE) */
RPMTAG_CACHECTIME = 1136, /* i internal - obsolete */
RPMTAG_CACHEPKGPATH = 1137, /* s internal - obsolete */
RPMTAG_CACHEPKGSIZE = 1138, /* i internal - obsolete */
RPMTAG_CACHEPKGMTIME = 1139, /* i internal - obsolete */
RPMTAG_FILECOLORS = 1140, /* i[] */
RPMTAG_FILECLASS = 1141, /* i[] */
RPMTAG_CLASSDICT = 1142, /* s[] */
RPMTAG_FILEDEPENDSX = 1143, /* i[] */
RPMTAG_FILEDEPENDSN = 1144, /* i[] */
RPMTAG_DEPENDSDICT = 1145, /* i[] */
RPMTAG_SOURCEPKGID = 1146, /* x */
RPMTAG_FILECONTEXTS = 1147, /* s[] - obsolete */
RPMTAG_FSCONTEXTS = 1148, /* s[] extension */
RPMTAG_RECONTEXTS = 1149, /* s[] extension */
RPMTAG_POLICIES = 1150, /* s[] selinux *.te policy file. */
RPMTAG_PRETRANS = 1151, /* s */
RPMTAG_POSTTRANS = 1152, /* s */
RPMTAG_PRETRANSPROG = 1153, /* s[] */
RPMTAG_POSTTRANSPROG = 1154, /* s[] */
RPMTAG_DISTTAG = 1155, /* s */
RPMTAG_OLDSUGGESTSNAME = 1156, /* s[] - obsolete */
#define RPMTAG_OLDSUGGESTS RPMTAG_OLDSUGGESTSNAME /* s[] - obsolete */
RPMTAG_OLDSUGGESTSVERSION = 1157, /* s[] - obsolete */
RPMTAG_OLDSUGGESTSFLAGS = 1158, /* i[] - obsolete */
RPMTAG_OLDENHANCESNAME = 1159, /* s[] - obsolete */
#define RPMTAG_OLDENHANCES RPMTAG_OLDENHANCESNAME /* s[] - obsolete */
RPMTAG_OLDENHANCESVERSION = 1160, /* s[] - obsolete */
RPMTAG_OLDENHANCESFLAGS = 1161, /* i[] - obsolete */
RPMTAG_PRIORITY = 1162, /* i[] extension placeholder (unimplemented) */
RPMTAG_CVSID = 1163, /* s (unimplemented) */
#define RPMTAG_SVNID RPMTAG_CVSID /* s (unimplemented) */
RPMTAG_BLINKPKGID = 1164, /* s[] (unimplemented) */
RPMTAG_BLINKHDRID = 1165, /* s[] (unimplemented) */
RPMTAG_BLINKNEVRA = 1166, /* s[] (unimplemented) */
RPMTAG_FLINKPKGID = 1167, /* s[] (unimplemented) */
RPMTAG_FLINKHDRID = 1168, /* s[] (unimplemented) */
RPMTAG_FLINKNEVRA = 1169, /* s[] (unimplemented) */
RPMTAG_PACKAGEORIGIN = 1170, /* s (unimplemented) */
RPMTAG_TRIGGERPREIN = 1171, /* internal */
RPMTAG_BUILDSUGGESTS = 1172, /* internal (unimplemented) */
RPMTAG_BUILDENHANCES = 1173, /* internal (unimplemented) */
RPMTAG_SCRIPTSTATES = 1174, /* i[] scriptlet exit codes (unimplemented) */
RPMTAG_SCRIPTMETRICS = 1175, /* i[] scriptlet execution times (unimplemented) */
RPMTAG_BUILDCPUCLOCK = 1176, /* i (unimplemented) */
RPMTAG_FILEDIGESTALGOS = 1177, /* i[] (unimplemented) */
RPMTAG_VARIANTS = 1178, /* s[] (unimplemented) */
RPMTAG_XMAJOR = 1179, /* i (unimplemented) */
RPMTAG_XMINOR = 1180, /* i (unimplemented) */
RPMTAG_REPOTAG = 1181, /* s (unimplemented) */
RPMTAG_KEYWORDS = 1182, /* s[] (unimplemented) */
RPMTAG_BUILDPLATFORMS = 1183, /* s[] (unimplemented) */
RPMTAG_PACKAGECOLOR = 1184, /* i (unimplemented) */
RPMTAG_PACKAGEPREFCOLOR = 1185, /* i (unimplemented) */
RPMTAG_XATTRSDICT = 1186, /* s[] (unimplemented) */
RPMTAG_FILEXATTRSX = 1187, /* i[] (unimplemented) */
RPMTAG_DEPATTRSDICT = 1188, /* s[] (unimplemented) */
RPMTAG_CONFLICTATTRSX = 1189, /* i[] (unimplemented) */
RPMTAG_OBSOLETEATTRSX = 1190, /* i[] (unimplemented) */
RPMTAG_PROVIDEATTRSX = 1191, /* i[] (unimplemented) */
RPMTAG_REQUIREATTRSX = 1192, /* i[] (unimplemented) */
RPMTAG_BUILDPROVIDES = 1193, /* internal (unimplemented) */
RPMTAG_BUILDOBSOLETES = 1194, /* internal (unimplemented) */
RPMTAG_DBINSTANCE = 1195, /* i extension */
RPMTAG_NVRA = 1196, /* s extension */
/* tags 1997-4999 reserved */
RPMTAG_FILENAMES = 5000, /* s[] extension */
RPMTAG_FILEPROVIDE = 5001, /* s[] extension */
RPMTAG_FILEREQUIRE = 5002, /* s[] extension */
RPMTAG_FSNAMES = 5003, /* s[] (unimplemented) */
RPMTAG_FSSIZES = 5004, /* l[] (unimplemented) */
RPMTAG_TRIGGERCONDS = 5005, /* s[] extension */
RPMTAG_TRIGGERTYPE = 5006, /* s[] extension */
RPMTAG_ORIGFILENAMES = 5007, /* s[] extension */
RPMTAG_LONGFILESIZES = 5008, /* l[] */
RPMTAG_LONGSIZE = 5009, /* l */
RPMTAG_FILECAPS = 5010, /* s[] */
RPMTAG_FILEDIGESTALGO = 5011, /* i file digest algorithm */
RPMTAG_BUGURL = 5012, /* s */
RPMTAG_EVR = 5013, /* s extension */
RPMTAG_NVR = 5014, /* s extension */
RPMTAG_NEVR = 5015, /* s extension */
RPMTAG_NEVRA = 5016, /* s extension */
RPMTAG_HEADERCOLOR = 5017, /* i extension */
RPMTAG_VERBOSE = 5018, /* i extension */
RPMTAG_EPOCHNUM = 5019, /* i extension */
RPMTAG_PREINFLAGS = 5020, /* i */
RPMTAG_POSTINFLAGS = 5021, /* i */
RPMTAG_PREUNFLAGS = 5022, /* i */
RPMTAG_POSTUNFLAGS = 5023, /* i */
RPMTAG_PRETRANSFLAGS = 5024, /* i */
RPMTAG_POSTTRANSFLAGS = 5025, /* i */
RPMTAG_VERIFYSCRIPTFLAGS = 5026, /* i */
RPMTAG_TRIGGERSCRIPTFLAGS = 5027, /* i[] */
RPMTAG_COLLECTIONS = 5029, /* s[] list of collections (unimplemented) */
RPMTAG_POLICYNAMES = 5030, /* s[] */
RPMTAG_POLICYTYPES = 5031, /* s[] */
RPMTAG_POLICYTYPESINDEXES = 5032, /* i[] */
RPMTAG_POLICYFLAGS = 5033, /* i[] */
RPMTAG_VCS = 5034, /* s */
RPMTAG_ORDERNAME = 5035, /* s[] */
RPMTAG_ORDERVERSION = 5036, /* s[] */
RPMTAG_ORDERFLAGS = 5037, /* i[] */
RPMTAG_MSSFMANIFEST = 5038, /* s[] reservation (unimplemented) */
RPMTAG_MSSFDOMAIN = 5039, /* s[] reservation (unimplemented) */
RPMTAG_INSTFILENAMES = 5040, /* s[] extension */
RPMTAG_REQUIRENEVRS = 5041, /* s[] extension */
RPMTAG_PROVIDENEVRS = 5042, /* s[] extension */
RPMTAG_OBSOLETENEVRS = 5043, /* s[] extension */
RPMTAG_CONFLICTNEVRS = 5044, /* s[] extension */
RPMTAG_FILENLINKS = 5045, /* i[] extension */
RPMTAG_RECOMMENDNAME = 5046, /* s[] */
#define RPMTAG_RECOMMENDS RPMTAG_RECOMMENDNAME /* s[] */
RPMTAG_RECOMMENDVERSION = 5047, /* s[] */
RPMTAG_RECOMMENDFLAGS = 5048, /* i[] */
RPMTAG_SUGGESTNAME = 5049, /* s[] */
#define RPMTAG_SUGGESTS RPMTAG_SUGGESTNAME /* s[] */
RPMTAG_SUGGESTVERSION = 5050, /* s[] extension */
RPMTAG_SUGGESTFLAGS = 5051, /* i[] extension */
RPMTAG_SUPPLEMENTNAME = 5052, /* s[] */
#define RPMTAG_SUPPLEMENTS RPMTAG_SUPPLEMENTNAME /* s[] */
RPMTAG_SUPPLEMENTVERSION = 5053, /* s[] */
RPMTAG_SUPPLEMENTFLAGS = 5054, /* i[] */
RPMTAG_ENHANCENAME = 5055, /* s[] */
#define RPMTAG_ENHANCES RPMTAG_ENHANCENAME /* s[] */
RPMTAG_ENHANCEVERSION = 5056, /* s[] */
RPMTAG_ENHANCEFLAGS = 5057, /* i[] */
RPMTAG_RECOMMENDNEVRS = 5058, /* s[] extension */
RPMTAG_SUGGESTNEVRS = 5059, /* s[] extension */
RPMTAG_SUPPLEMENTNEVRS = 5060, /* s[] extension */
RPMTAG_ENHANCENEVRS = 5061, /* s[] extension */
RPMTAG_ENCODING = 5062, /* s */
RPMTAG_FILETRIGGERIN = 5063, /* internal */
RPMTAG_FILETRIGGERUN = 5064, /* internal */
RPMTAG_FILETRIGGERPOSTUN = 5065, /* internal */
RPMTAG_FILETRIGGERSCRIPTS = 5066, /* s[] */
RPMTAG_FILETRIGGERSCRIPTPROG = 5067, /* s[] */
RPMTAG_FILETRIGGERSCRIPTFLAGS = 5068, /* i[] */
RPMTAG_FILETRIGGERNAME = 5069, /* s[] */
RPMTAG_FILETRIGGERINDEX = 5070, /* i[] */
RPMTAG_FILETRIGGERVERSION = 5071, /* s[] */
RPMTAG_FILETRIGGERFLAGS = 5072, /* i[] */
RPMTAG_TRANSFILETRIGGERIN = 5073, /* internal */
RPMTAG_TRANSFILETRIGGERUN = 5074, /* internal */
RPMTAG_TRANSFILETRIGGERPOSTUN = 5075, /* internal */
RPMTAG_TRANSFILETRIGGERSCRIPTS = 5076, /* s[] */
RPMTAG_TRANSFILETRIGGERSCRIPTPROG = 5077, /* s[] */
RPMTAG_TRANSFILETRIGGERSCRIPTFLAGS = 5078, /* i[] */
RPMTAG_TRANSFILETRIGGERNAME = 5079, /* s[] */
RPMTAG_TRANSFILETRIGGERINDEX = 5080, /* i[] */
RPMTAG_TRANSFILETRIGGERVERSION = 5081, /* s[] */
RPMTAG_TRANSFILETRIGGERFLAGS = 5082, /* i[] */
RPMTAG_REMOVEPATHPOSTFIXES = 5083, /* s internal */
RPMTAG_FILETRIGGERPRIORITIES = 5084, /* i[] */
RPMTAG_TRANSFILETRIGGERPRIORITIES = 5085, /* i[] */
RPMTAG_FILETRIGGERCONDS = 5086, /* s[] extension */
RPMTAG_FILETRIGGERTYPE = 5087, /* s[] extension */
RPMTAG_TRANSFILETRIGGERCONDS = 5088, /* s[] extension */
RPMTAG_TRANSFILETRIGGERTYPE = 5089, /* s[] extension */
RPMTAG_FILESIGNATURES = 5090, /* s[] */
RPMTAG_FILESIGNATURELENGTH = 5091, /* i */
RPMTAG_FIRSTFREE_TAG
} rpmTag;
#define RPMTAG_EXTERNAL_TAG 1000000
typedef enum rpmDbiTag_e {
RPMDBI_PACKAGES = 0, /* Installed package headers. */
RPMDBI_LABEL = 2, /* NEVRA label pseudo index */
RPMDBI_NAME = RPMTAG_NAME,
RPMDBI_BASENAMES = RPMTAG_BASENAMES,
RPMDBI_GROUP = RPMTAG_GROUP,
RPMDBI_REQUIRENAME = RPMTAG_REQUIRENAME,
RPMDBI_PROVIDENAME = RPMTAG_PROVIDENAME,
RPMDBI_CONFLICTNAME = RPMTAG_CONFLICTNAME,
RPMDBI_OBSOLETENAME = RPMTAG_OBSOLETENAME,
RPMDBI_TRIGGERNAME = RPMTAG_TRIGGERNAME,
RPMDBI_DIRNAMES = RPMTAG_DIRNAMES,
RPMDBI_INSTALLTID = RPMTAG_INSTALLTID,
RPMDBI_SIGMD5 = RPMTAG_SIGMD5,
RPMDBI_SHA1HEADER = RPMTAG_SHA1HEADER,
RPMDBI_INSTFILENAMES = RPMTAG_INSTFILENAMES,
RPMDBI_FILETRIGGERNAME = RPMTAG_FILETRIGGERNAME,
RPMDBI_TRANSFILETRIGGERNAME = RPMTAG_TRANSFILETRIGGERNAME,
RPMDBI_RECOMMENDNAME = RPMTAG_RECOMMENDNAME,
RPMDBI_SUGGESTNAME = RPMTAG_SUGGESTNAME,
RPMDBI_SUPPLEMENTNAME = RPMTAG_SUPPLEMENTNAME,
RPMDBI_ENHANCENAME = RPMTAG_ENHANCENAME,
} rpmDbiTag;
typedef enum rpmSigTag_e {
RPMSIGTAG_SIZE = 1000,
RPMSIGTAG_LEMD5_1 = 1001,
RPMSIGTAG_PGP = 1002,
RPMSIGTAG_LEMD5_2 = 1003,
RPMSIGTAG_MD5 = 1004,
RPMSIGTAG_GPG = 1005,
RPMSIGTAG_PGP5 = 1006,
RPMSIGTAG_PAYLOADSIZE = 1007,
RPMSIGTAG_RESERVEDSPACE = 1008,
RPMSIGTAG_BADSHA1_1 = RPMTAG_BADSHA1_1,
RPMSIGTAG_BADSHA1_2 = RPMTAG_BADSHA1_2,
RPMSIGTAG_SHA1 = RPMTAG_SHA1HEADER,
RPMSIGTAG_DSA = RPMTAG_DSAHEADER,
RPMSIGTAG_RSA = RPMTAG_RSAHEADER,
RPMSIGTAG_LONGSIZE = RPMTAG_LONGSIGSIZE,
RPMSIGTAG_LONGARCHIVESIZE = RPMTAG_LONGARCHIVESIZE,
} rpmSigTag;
typedef enum rpmTagType_e {
#define RPM_MIN_TYPE 0
RPM_NULL_TYPE = 0,
RPM_CHAR_TYPE = 1,
RPM_INT8_TYPE = 2,
RPM_INT16_TYPE = 3,
RPM_INT32_TYPE = 4,
RPM_INT64_TYPE = 5,
RPM_STRING_TYPE = 6,
RPM_BIN_TYPE = 7,
RPM_STRING_ARRAY_TYPE = 8,
RPM_I18NSTRING_TYPE = 9,
#define RPM_MAX_TYPE 9
#define RPM_FORCEFREE_TYPE 0xff
#define RPM_MASK_TYPE 0x0000ffff
} rpmTagType;
typedef enum rpmTagClass_e {
RPM_NULL_CLASS = 0,
RPM_NUMERIC_CLASS = 1,
RPM_STRING_CLASS = 2,
RPM_BINARY_CLASS = 3,
} rpmTagClass;
typedef enum rpmSubTagType_e {
RPM_REGION_TYPE = -10,
RPM_BIN_ARRAY_TYPE = -11,
RPM_XREF_TYPE = -12
} rpmSubTagType;
enum rpmTagReturnType_e {
RPM_ANY_RETURN_TYPE = 0,
RPM_SCALAR_RETURN_TYPE = 0x00010000,
RPM_ARRAY_RETURN_TYPE = 0x00020000,
RPM_MAPPING_RETURN_TYPE = 0x00040000,
RPM_MASK_RETURN_TYPE = 0xffff0000
};
typedef rpmFlags rpmTagReturnType;
const char * rpmTagGetName(rpmTagVal tag);
rpmTagType rpmTagGetType(rpmTagVal tag);
rpmTagType rpmTagGetTagType(rpmTagVal tag);
rpmTagReturnType rpmTagGetReturnType(rpmTagVal tag);
rpmTagClass rpmTagGetClass(rpmTagVal tag);
rpmTagVal rpmTagGetValue(const char * tagstr);
rpmTagClass rpmTagTypeGetClass(rpmTagType type);
int rpmTagGetNames(rpmtd tagnames, int fullname);
#ifdef __cplusplus
}
#endif
#endif /* _RPMTAG_H */
RPMTAG_REQUIREFLAGS
Definition: rpmtag.h:116
RPMTAG_KEYWORDS
Definition: rpmtag.h:249
RPMDBI_INSTFILENAMES
Definition: rpmtag.h:385
RPMTAG_BADSHA1_2
Definition: rpmtag.h:52
RPMTAG_TRANSFILETRIGGERINDEX
Definition: rpmtag.h:349
RPMTAG_BUILDCONFLICTS
Definition: rpmtag.h:174
RPMTAG_FILEUSERNAME
Definition: rpmtag.h:105
RPM_STRING_TYPE
Definition: rpmtag.h:428
RPMTAG_CACHEPKGMTIME
Definition: rpmtag.h:203
RPM_XREF_TYPE
Definition: rpmtag.h:460
RPMTAG_BLINKNEVRA
Definition: rpmtag.h:233
RPMTAG_TRANSFILETRIGGERTYPE
Definition: rpmtag.h:358
RPMTAG_INSTFILENAMES
Definition: rpmtag.h:305
RPMTAG_OLDORIGFILENAMES
Definition: rpmtag.h:171
RPMTAG_DEFAULTPREFIX
Definition: rpmtag.h:127
RPM_ARRAY_RETURN_TYPE
Definition: rpmtag.h:471
RPMTAG_DEPATTRSDICT
Definition: rpmtag.h:255
RPMTAG_VERBOSE
Definition: rpmtag.h:284
RPMTAG_PUBKEYS
Definition: rpmtag.h:53
RPMTAG_SIGPGP5
Definition: rpmtag.h:49
RPMTAG_ORIGBASENAMES
Definition: rpmtag.h:184
RPMDBI_DIRNAMES
Definition: rpmtag.h:381
HEADER_IMMUTABLE
#define HEADER_IMMUTABLE
Definition: rpmtag.h:16
RPMTAG_SCRIPTMETRICS
Definition: rpmtag.h:242
RPMTAG_FILEINODES
Definition: rpmtag.h:160
RPMTAG_ARCH
Definition: rpmtag.h:87
RPMTAG_POSTTRANSFLAGS
Definition: rpmtag.h:291
RPMDBI_PACKAGES
Definition: rpmtag.h:371
RPMTAG_TRANSFILETRIGGERNAME
Definition: rpmtag.h:348
RPMTAG_CLASSDICT
Definition: rpmtag.h:206
RPMTAG_CACHECTIME
Definition: rpmtag.h:200
RPMTAG_FILETRIGGERSCRIPTFLAGS
Definition: rpmtag.h:337
RPMTAG_EPOCH
Definition: rpmtag.h:67
RPMTAG_CACHEPKGSIZE
Definition: rpmtag.h:202
RPMTAG_NOPATCH
Definition: rpmtag.h:121
RPMTAG_ENHANCEFLAGS
Definition: rpmtag.h:326
RPMTAG_PATCHESFLAGS
Definition: rpmtag.h:198
RPMTAG_FILEGIDS
Definition: rpmtag.h:97
RPMSIGTAG_PGP5
Definition: rpmtag.h:404
RPMTAG_SCRIPTSTATES
Definition: rpmtag.h:241
RPMTAG_FILETRIGGERUN
Definition: rpmtag.h:333
RPMTAG_NEVRA
Definition: rpmtag.h:282
HEADER_SIGNATURES
#define HEADER_SIGNATURES
Definition: rpmtag.h:15
RPMTAG_FILETRIGGERPRIORITIES
Definition: rpmtag.h:353
RPMTAG_TRANSFILETRIGGERSCRIPTPROG
Definition: rpmtag.h:346
RPM_NUMERIC_CLASS
Definition: rpmtag.h:442
RPMDBI_SHA1HEADER
Definition: rpmtag.h:384
RPMTAG_BUILDPLATFORMS
Definition: rpmtag.h:250
HEADER_IMAGE
#define HEADER_IMAGE
Header private tags.
Definition: rpmtag.h:14
RPMSIGTAG_SIZE
Definition: rpmtag.h:398
RPMTAG_OS
Definition: rpmtag.h:86
RPMDBI_NAME
Definition: rpmtag.h:373
RPM_NULL_TYPE
Definition: rpmtag.h:422
RPMTAG_PREUNPROG
Definition: rpmtag.h:149
RPMSIGTAG_RSA
Definition: rpmtag.h:411
RPM_SCALAR_RETURN_TYPE
Definition: rpmtag.h:470
rpmTag
enum rpmTag_e rpmTag
Tags identify data in package headers.
RPMTAG_RECOMMENDFLAGS
Definition: rpmtag.h:314
RPMTAG_OBSOLETEATTRSX
Definition: rpmtag.h:257
RPMTAG_PROVIDENAME
Definition: rpmtag.h:113
RPMTAG_FILECLASS
Definition: rpmtag.h:205
rpmDbiTag_e
rpmDbiTag_e
Rpm database index tags.
Definition: rpmtag.h:370
RPMTAG_BUILDREQUIRES
Definition: rpmtag.h:173
RPMTAG_BUILDCPUCLOCK
Definition: rpmtag.h:243
RPMTAG_SUPPLEMENTFLAGS
Definition: rpmtag.h:322
RPMTAG_POSTUNPROG
Definition: rpmtag.h:150
RPMTAG_NVRA
Definition: rpmtag.h:263
rpmTagGetReturnType
rpmTagReturnType rpmTagGetReturnType(rpmTagVal tag)
Return tag data type from value.
RPMTAG_SIZE
Definition: rpmtag.h:74
RPMTAG_VERIFYSCRIPTPROG
Definition: rpmtag.h:155
RPMTAG_FILETRIGGERIN
Definition: rpmtag.h:332
RPMTAG_FILETRIGGERINDEX
Definition: rpmtag.h:339
rpmTagClass_e
rpmTagClass_e
The classes of data in tags from headers.
Definition: rpmtag.h:440
RPMTAG_PRIORITY
Definition: rpmtag.h:228
RPMTAG_TRIGGERSCRIPTFLAGS
Definition: rpmtag.h:293
RPMTAG_GIF
Definition: rpmtag.h:77
rpmTagReturnType_e
rpmTagReturnType_e
Definition: rpmtag.h:468
RPMSIGTAG_DSA
Definition: rpmtag.h:410
RPMTAG_OLDENHANCESFLAGS
Definition: rpmtag.h:227
rpmSigTag_e
rpmSigTag_e
Tags found in signature header from package.
Definition: rpmtag.h:397
RPMSIGTAG_LONGSIZE
Definition: rpmtag.h:412
RPMTAG_VERIFYSCRIPT
Definition: rpmtag.h:141
RPMDBI_RECOMMENDNAME
Definition: rpmtag.h:388
RPMTAG_VERIFYSCRIPTFLAGS
Definition: rpmtag.h:292
RPMTAG_TRANSFILETRIGGERIN
Definition: rpmtag.h:342
rpmDbiTag
enum rpmDbiTag_e rpmDbiTag
Rpm database index tags.
RPMTAG_TRIGGERCONDS
Definition: rpmtag.h:271
RPMDBI_INSTALLTID
Definition: rpmtag.h:382
RPMTAG_RSAHEADER
Definition: rpmtag.h:55
RPMDBI_PROVIDENAME
Definition: rpmtag.h:377
RPM_ANY_RETURN_TYPE
Definition: rpmtag.h:469
RPMTAG_CHANGELOGTIME
Definition: rpmtag.h:142
RPMTAG_OLDSUGGESTSNAME
Definition: rpmtag.h:220
RPMTAG_CONFLICTVERSION
Definition: rpmtag.h:126
RPMTAG_POSTTRANS
Definition: rpmtag.h:216
RPMTAG_POSTINPROG
Definition: rpmtag.h:148
RPMTAG_OLDFILENAMES
Definition: rpmtag.h:92
RPMTAG_FSSIZES
Definition: rpmtag.h:270
RPMTAG_BUGURL
Definition: rpmtag.h:278
RPMTAG_SIGMD5
Definition: rpmtag.h:46
RPMTAG_TRANSFILETRIGGERVERSION
Definition: rpmtag.h:350
RPMTAG_POSTIN
Definition: rpmtag.h:89
RPMTAG_COOKIE
Definition: rpmtag.h:158
RPMTAG_TRIGGERIN
Definition: rpmtag.h:164
RPMSIGTAG_MD5
Definition: rpmtag.h:402
RPMTAG_EXCLUSIVEARCH
Definition: rpmtag.h:132
RPMTAG_CHANGELOGNAME
Definition: rpmtag.h:143
RPMTAG_FILELANGS
Definition: rpmtag.h:161
RPM_REGION_TYPE
Definition: rpmtag.h:456
RPMTAG_REQUIREATTRSX
Definition: rpmtag.h:259
RPMTAG_FLINKHDRID
Definition: rpmtag.h:235
RPMTAG_FLINKPKGID
Definition: rpmtag.h:234
RPMTAG_PROVIDENEVRS
Definition: rpmtag.h:307
RPMTAG_PLATFORM
Definition: rpmtag.h:196
RPMTAG_TRIGGERPREIN
Definition: rpmtag.h:238
RPMTAG_FILEDIGESTALGOS
Definition: rpmtag.h:244
RPM_INT16_TYPE
Definition: rpmtag.h:425
RPMTAG_FILETRIGGERSCRIPTPROG
Definition: rpmtag.h:336
RPM_I18NSTRING_TYPE
Definition: rpmtag.h:431
rpmTag_e
rpmTag_e
Tags identify data in package headers.
Definition: rpmtag.h:28
RPMTAG_XMAJOR
Definition: rpmtag.h:246
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
RPMTAG_FILETRIGGERPOSTUN
Definition: rpmtag.h:334
RPMTAG_PAYLOADFLAGS
Definition: rpmtag.h:190
RPMTAG_ENHANCENAME
Definition: rpmtag.h:323
RPMTAG_PREUNFLAGS
Definition: rpmtag.h:288
RPMTAG_ORIGDIRNAMES
Definition: rpmtag.h:185
rpmSubTagType
enum rpmSubTagType_e rpmSubTagType
New rpm data types under consideration/development.
RPMSIGTAG_PAYLOADSIZE
Definition: rpmtag.h:405
RPMTAG_CONFLICTNAME
Definition: rpmtag.h:123
RPMTAG_FILEUIDS
Definition: rpmtag.h:96
RPMTAG_SUMMARY
Definition: rpmtag.h:69
RPMTAG_FILEDIGESTS
Definition: rpmtag.h:100
RPMTAG_TRIGGERVERSION
Definition: rpmtag.h:138
RPMTAG_CAPABILITY
Definition: rpmtag.h:169
RPMTAG_FILECAPS
Definition: rpmtag.h:276
rpmTagType_e
rpmTagType_e
The basic types of data in tags from headers.
Definition: rpmtag.h:420
RPMTAG_POLICYNAMES
Definition: rpmtag.h:295
RPMTAG_SOURCEPACKAGE
Definition: rpmtag.h:170
RPMTAG_TRIGGERFLAGS
Definition: rpmtag.h:139
RPMTAG_OLDSUGGESTSVERSION
Definition: rpmtag.h:222
RPMTAG_EXCLUDEOS
Definition: rpmtag.h:131
RPMTAG_NVR
Definition: rpmtag.h:280
RPMTAG_XPM
Definition: rpmtag.h:78
RPMTAG_FILEDEPENDSX
Definition: rpmtag.h:207
RPMTAG_NOT_FOUND
Definition: rpmtag.h:29
RPMTAG_SUGGESTNEVRS
Definition: rpmtag.h:328
RPMTAG_PATCH
Definition: rpmtag.h:84
RPMDBI_SUGGESTNAME
Definition: rpmtag.h:389
RPMTAG_CACHEPKGPATH
Definition: rpmtag.h:201
RPM_BINARY_CLASS
Definition: rpmtag.h:444
RPMTAG_PACKAGER
Definition: rpmtag.h:80
RPMTAG_SIGGPG
Definition: rpmtag.h:48
RPMSIGTAG_PGP
Definition: rpmtag.h:400
RPMTAG_HEADERIMAGE
Definition: rpmtag.h:31
RPMTAG_SIGPGP
Definition: rpmtag.h:44
RPMTAG_OBSOLETENEVRS
Definition: rpmtag.h:308
RPMTAG_PATCHESVERSION
Definition: rpmtag.h:199
RPMTAG_ORDERNAME
Definition: rpmtag.h:300
RPMTAG_TRANSFILETRIGGERPOSTUN
Definition: rpmtag.h:344
RPMTAG_PROVIDEATTRSX
Definition: rpmtag.h:258
RPMTAG_DEPENDSDICT
Definition: rpmtag.h:209
RPMTAG_PREREQ
Definition: rpmtag.h:146
RPMTAG_FILESTATES
Definition: rpmtag.h:94
RPMTAG_FSCONTEXTS
Definition: rpmtag.h:212
RPMTAG_FILECOLORS
Definition: rpmtag.h:204
RPMTAG_FILETRIGGERTYPE
Definition: rpmtag.h:356
RPMTAG_OPTFLAGS
Definition: rpmtag.h:186
RPMTAG_INSTALLPREFIX
Definition: rpmtag.h:129
RPMTAG_LONGFILESIZES
Definition: rpmtag.h:274
RPMTAG_OBSOLETEFLAGS
Definition: rpmtag.h:178
RPMTAG_BUILDROOT
Definition: rpmtag.h:128
RPMTAG_ORDERVERSION
Definition: rpmtag.h:301
rpmTagType
enum rpmTagType_e rpmTagType
The basic types of data in tags from headers.
RPMTAG_AUTOPROV
Definition: rpmtag.h:168
RPMTAG_POLICYTYPESINDEXES
Definition: rpmtag.h:297
RPMTAG_HEADERCOLOR
Definition: rpmtag.h:283
RPMTAG_BUILDENHANCES
Definition: rpmtag.h:240
RPMTAG_REQUIREVERSION
Definition: rpmtag.h:119
RPMTAG_HEADERREGIONS
Definition: rpmtag.h:34
RPMTAG_REMOVETID
Definition: rpmtag.h:193
rpmSigTag
enum rpmSigTag_e rpmSigTag
Tags found in signature header from package.
RPMSIGTAG_BADSHA1_1
Definition: rpmtag.h:407
RPM_BIN_TYPE
Definition: rpmtag.h:429
RPMTAG_EXCLUDEARCH
Definition: rpmtag.h:130
RPMTAG_REQUIRENEVRS
Definition: rpmtag.h:306
RPMTAG_BADSHA1_1
Definition: rpmtag.h:51
RPMDBI_CONFLICTNAME
Definition: rpmtag.h:378
RPMTAG_CHANGELOGTEXT
Definition: rpmtag.h:144
RPMTAG_PACKAGECOLOR
Definition: rpmtag.h:251
RPMTAG_DISTURL
Definition: rpmtag.h:187
RPMTAG_SOURCE
Definition: rpmtag.h:83
RPM_CHAR_TYPE
Definition: rpmtag.h:423
RPMTAG_POSTUN
Definition: rpmtag.h:91
RPMTAG_FILESIGNATURELENGTH
Definition: rpmtag.h:360
RPMDBI_SIGMD5
Definition: rpmtag.h:383
RPMTAG_LICENSE
Definition: rpmtag.h:79
RPMTAG_INSTALLTID
Definition: rpmtag.h:192
RPMTAG_LONGSIGSIZE
Definition: rpmtag.h:58
RPMTAG_FILEFLAGS
Definition: rpmtag.h:103
RPMTAG_CHANGELOG
Definition: rpmtag.h:82
RPMTAG_FILEMODES
Definition: rpmtag.h:95
RPMTAG_EXCLUSIVEOS
Definition: rpmtag.h:133
RPMTAG_GROUP
Definition: rpmtag.h:81
RPMTAG_SOURCEPKGID
Definition: rpmtag.h:210
RPMTAG_TRIGGERINDEX
Definition: rpmtag.h:140
RPM_STRING_ARRAY_TYPE
Definition: rpmtag.h:430
RPMTAG_TRANSFILETRIGGERUN
Definition: rpmtag.h:343
HEADER_I18NTABLE
#define HEADER_I18NTABLE
Definition: rpmtag.h:18
RPMTAG_BUILDOBSOLETES
Definition: rpmtag.h:261
RPMTAG_TRANSFILETRIGGERCONDS
Definition: rpmtag.h:357
RPMTAG_VCS
Definition: rpmtag.h:299
RPMTAG_VENDOR
Definition: rpmtag.h:76
RPMTAG_FILEDIGESTALGO
Definition: rpmtag.h:277
RPM_MASK_RETURN_TYPE
Definition: rpmtag.h:473
RPMTAG_RECONTEXTS
Definition: rpmtag.h:213
RPMTAG_SUGGESTNAME
Definition: rpmtag.h:315
RPMTAG_XATTRSDICT
Definition: rpmtag.h:253
RPMTAG_AUTOREQPROV
Definition: rpmtag.h:134
RPMTAG_FILESIZES
Definition: rpmtag.h:93
RPMTAG_FSNAMES
Definition: rpmtag.h:269
rpmTagReturnType
rpmFlags rpmTagReturnType
Definition: rpmtag.h:476
RPMTAG_RELEASE
Definition: rpmtag.h:65
RPMDBI_GROUP
Definition: rpmtag.h:375
RPMTAG_MSSFDOMAIN
Definition: rpmtag.h:304
RPMTAG_TRANSFILETRIGGERFLAGS
Definition: rpmtag.h:351
RPMTAG_SUGGESTVERSION
Definition: rpmtag.h:317
RPMTAG_PREIN
Definition: rpmtag.h:88
RPMTAG_NOSOURCE
Definition: rpmtag.h:120
HEADER_REGIONS
#define HEADER_REGIONS
Definition: rpmtag.h:17
RPMTAG_FILECONTEXTS
Definition: rpmtag.h:211
RPMTAG_FILENLINKS
Definition: rpmtag.h:310
RPMTAG_XMINOR
Definition: rpmtag.h:247
RPMTAG_SIG_BASE
Definition: rpmtag.h:41
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
RPMTAG_SOURCERPM
Definition: rpmtag.h:110
RPMTAG_PRETRANSFLAGS
Definition: rpmtag.h:290
RPMDBI_FILETRIGGERNAME
Definition: rpmtag.h:386
RPMTAG_PROVIDEFLAGS
Definition: rpmtag.h:176
RPM_NULL_CLASS
Definition: rpmtag.h:441
RPMDBI_SUPPLEMENTNAME
Definition: rpmtag.h:390
RPMDBI_TRANSFILETRIGGERNAME
Definition: rpmtag.h:387
rpmTagGetValue
rpmTagVal rpmTagGetValue(const char *tagstr)
Return tag value from name.
RPMTAG_TRIGGERTYPE
Definition: rpmtag.h:272
RPMTAG_SHA1RHN
Definition: rpmtag.h:194
RPMSIGTAG_LONGARCHIVESIZE
Definition: rpmtag.h:413
RPMTAG_PREFIXES
Definition: rpmtag.h:162
RPMTAG_BUILDARCHS
Definition: rpmtag.h:151
RPMTAG_FILETRIGGERNAME
Definition: rpmtag.h:338
RPMTAG_FILEDEVICES
Definition: rpmtag.h:159
RPMTAG_DBINSTANCE
Definition: rpmtag.h:262
RPMTAG_ORIGFILENAMES
Definition: rpmtag.h:273
RPMTAG_FLINKNEVRA
Definition: rpmtag.h:236
RPMTAG_RECOMMENDNEVRS
Definition: rpmtag.h:327
RPMTAG_TRANSFILETRIGGERPRIORITIES
Definition: rpmtag.h:354
RPMSIGTAG_GPG
Definition: rpmtag.h:403
RPMTAG_COLLECTIONS
Definition: rpmtag.h:294
RPMTAG_BUILDPREREQ
Definition: rpmtag.h:172
RPMTAG_HEADERI18NTABLE
Definition: rpmtag.h:36
HEADER_SIGBASE
#define HEADER_SIGBASE
Definition: rpmtag.h:19
RPMTAG_SUPPLEMENTNEVRS
Definition: rpmtag.h:329
RPMTAG_BUILDHOST
Definition: rpmtag.h:72
rpmTagClass
enum rpmTagClass_e rpmTagClass
The classes of data in tags from headers.
RPMTAG_FILEPROVIDE
Definition: rpmtag.h:267
RPMTAG_PREINFLAGS
Definition: rpmtag.h:286
RPMTAG_MSSFMANIFEST
Definition: rpmtag.h:303
RPMTAG_LONGSIZE
Definition: rpmtag.h:275
RPMTAG_FIRSTFREE_TAG
Definition: rpmtag.h:362
RPMTAG_REMOVEPATHPOSTFIXES
Definition: rpmtag.h:352
RPMTAG_TRANSFILETRIGGERSCRIPTS
Definition: rpmtag.h:345
RPMTAG_ENCODING
Definition: rpmtag.h:331
RPMTAG_OBSOLETEVERSION
Definition: rpmtag.h:179
RPMTAG_EXCLUDE
Definition: rpmtag.h:107
RPM_MAPPING_RETURN_TYPE
Definition: rpmtag.h:472
RPMTAG_PACKAGEORIGIN
Definition: rpmtag.h:237
RPM_BIN_ARRAY_TYPE
Definition: rpmtag.h:457
RPMTAG_AUTOREQ
Definition: rpmtag.h:167
RPMTAG_SUPPLEMENTVERSION
Definition: rpmtag.h:321
RPMTAG_DESCRIPTION
Definition: rpmtag.h:70
RPMTAG_EVR
Definition: rpmtag.h:279
RPMTAG_PACKAGEPREFCOLOR
Definition: rpmtag.h:252
RPMTAG_BROKENMD5
Definition: rpmtag.h:145
RPMTAG_TRIGGERPOSTUN
Definition: rpmtag.h:166
RPMDBI_TRIGGERNAME
Definition: rpmtag.h:380
RPMDBI_ENHANCENAME
Definition: rpmtag.h:391
RPMTAG_CONFLICTATTRSX
Definition: rpmtag.h:256
RPMDBI_OBSOLETENAME
Definition: rpmtag.h:379
RPMTAG_BUILDSUGGESTS
Definition: rpmtag.h:239
RPMTAG_FILEDEPENDSN
Definition: rpmtag.h:208
RPMTAG_PAYLOADFORMAT
Definition: rpmtag.h:188
RPMTAG_FILEXATTRSX
Definition: rpmtag.h:254
RPMTAG_INSTALLTIME
Definition: rpmtag.h:73
RPMTAG_OBSOLETENAME
Definition: rpmtag.h:152
RPMTAG_BASENAMES
Definition: rpmtag.h:181
rpmTagGetName
const char * rpmTagGetName(rpmTagVal tag)
Return tag name from value.
RPMTAG_DISTRIBUTION
Definition: rpmtag.h:75
RPM_INT64_TYPE
Definition: rpmtag.h:427
rpmtd_s
Container for rpm tag data (from headers or extensions).
Definition: rpmtd.h:26
RPMTAG_HEADERSIGNATURES
Definition: rpmtag.h:32
RPMTAG_RECOMMENDVERSION
Definition: rpmtag.h:313
RPMTAG_FILEGROUPNAME
Definition: rpmtag.h:106
RPMTAG_TRIGGERNAME
Definition: rpmtag.h:137
RPMTAG_DOCDIR
Definition: rpmtag.h:157
RPMTAG_FILETRIGGERVERSION
Definition: rpmtag.h:340
RPMTAG_FILEVERIFYFLAGS
Definition: rpmtag.h:111
RPMTAG_SUPPLEMENTNAME
Definition: rpmtag.h:319
RPMTAG_PREUN
Definition: rpmtag.h:90
RPMTAG_PATCHESNAME
Definition: rpmtag.h:197
RPMTAG_CONFLICTNEVRS
Definition: rpmtag.h:309
RPMTAG_ROOT
Definition: rpmtag.h:104
RPMTAG_CVSID
Definition: rpmtag.h:229
RPMTAG_EPOCHNUM
Definition: rpmtag.h:285
rpmTagGetTagType
rpmTagType rpmTagGetTagType(rpmTagVal tag)
Return tag data type from value.
RPMTAG_TRIGGERSCRIPTPROG
Definition: rpmtag.h:156
RPMTAG_PROVIDEVERSION
Definition: rpmtag.h:177
RPMTAG_POLICYTYPES
Definition: rpmtag.h:296
RPMSIGTAG_LEMD5_2
Definition: rpmtag.h:401
rpmTagGetNames
int rpmTagGetNames(rpmtd tagnames, int fullname)
Return known rpm tag names, sorted by name.
RPMTAG_URL
Definition: rpmtag.h:85
RPMTAG_HEADERIMMUTABLE
Definition: rpmtag.h:33
RPMTAG_BLINKHDRID
Definition: rpmtag.h:232
rpmTagGetClass
rpmTagClass rpmTagGetClass(rpmTagVal tag)
Return tag data class from value.
RPMTAG_DISTTAG
Definition: rpmtag.h:219
RPMTAG_DIRNAMES
Definition: rpmtag.h:182
RPMTAG_RHNPLATFORM
Definition: rpmtag.h:195
RPMTAG_INSTPREFIXES
Definition: rpmtag.h:163
RPMTAG_OLDSUGGESTSFLAGS
Definition: rpmtag.h:223
RPMTAG_FILETRIGGERCONDS
Definition: rpmtag.h:355
RPMTAG_TRANSFILETRIGGERSCRIPTFLAGS
Definition: rpmtag.h:347
RPMTAG_OLDENHANCESVERSION
Definition: rpmtag.h:226
RPMTAG_PRETRANS
Definition: rpmtag.h:215
rpmSubTagType_e
rpmSubTagType_e
New rpm data types under consideration/development.
Definition: rpmtag.h:455
RPMTAG_INSTALLCOLOR
Definition: rpmtag.h:191
RPMTAG_POSTTRANSPROG
Definition: rpmtag.h:218
RPMSIGTAG_SHA1
Definition: rpmtag.h:409
RPMSIGTAG_LEMD5_1
Definition: rpmtag.h:399
RPMTAG_SUGGESTFLAGS
Definition: rpmtag.h:318
RPMTAG_OLDENHANCESNAME
Definition: rpmtag.h:224
RPMTAG_VARIANTS
Definition: rpmtag.h:245
RPMTAG_NAME
Definition: rpmtag.h:61
RPMTAG_BUILDMACROS
Definition: rpmtag.h:175
RPMTAG_DIRINDEXES
Definition: rpmtag.h:180
RPMTAG_SHA1HEADER
Definition: rpmtag.h:56
RPMTAG_EXCLUSIVE
Definition: rpmtag.h:108
RPMSIGTAG_BADSHA1_2
Definition: rpmtag.h:408
RPMTAG_SIGLEMD5_1
Definition: rpmtag.h:43
RPMDBI_BASENAMES
Definition: rpmtag.h:374
RPMTAG_ENHANCEVERSION
Definition: rpmtag.h:325
RPMTAG_FILERDEVS
Definition: rpmtag.h:98
RPMDBI_LABEL
Definition: rpmtag.h:372
RPMTAG_TRIGGERSCRIPTS
Definition: rpmtag.h:136
RPMTAG_POLICYFLAGS
Definition: rpmtag.h:298
RPMTAG_ARCHIVESIZE
Definition: rpmtag.h:112
RPMTAG_BUILDTIME
Definition: rpmtag.h:71
RPMTAG_FILENAMES
Definition: rpmtag.h:266
RPMTAG_TRIGGERUN
Definition: rpmtag.h:165
RPMTAG_REPOTAG
Definition: rpmtag.h:248
rpmTagTypeGetClass
rpmTagClass rpmTagTypeGetClass(rpmTagType type)
Return data class of type.
RPM_INT32_TYPE
Definition: rpmtag.h:426
RPMTAG_ORDERFLAGS
Definition: rpmtag.h:302
RPMSIGTAG_RESERVEDSPACE
Definition: rpmtag.h:406
RPMTAG_LONGARCHIVESIZE
Definition: rpmtag.h:59
RPMTAG_SIGSIZE
Definition: rpmtag.h:42
RPMTAG_ICON
Definition: rpmtag.h:109
RPMTAG_BUILDPROVIDES
Definition: rpmtag.h:260
RPMTAG_FILETRIGGERSCRIPTS
Definition: rpmtag.h:335
RPMTAG_NEVR
Definition: rpmtag.h:281
RPMTAG_FILELINKTOS
Definition: rpmtag.h:102
rpmTagGetType
rpmTagType rpmTagGetType(rpmTagVal tag)
Return tag data type from value.
RPMTAG_POSTINFLAGS
Definition: rpmtag.h:287
RPMTAG_VERSION
Definition: rpmtag.h:63
RPM_INT8_TYPE
Definition: rpmtag.h:424
RPMDBI_REQUIRENAME
Definition: rpmtag.h:376
RPMTAG_FILEMTIMES
Definition: rpmtag.h:99
RPMTAG_FILESIGNATURES
Definition: rpmtag.h:359
RPMTAG_PRETRANSPROG
Definition: rpmtag.h:217
RPMTAG_RECOMMENDNAME
Definition: rpmtag.h:311
RPM_STRING_CLASS
Definition: rpmtag.h:443
RPMTAG_ORIGDIRINDEXES
Definition: rpmtag.h:183
RPMTAG_FILEREQUIRE
Definition: rpmtag.h:268
RPMTAG_SIGLEMD5_2
Definition: rpmtag.h:45
RPMTAG_RPMVERSION
Definition: rpmtag.h:135
RPMTAG_FILETRIGGERFLAGS
Definition: rpmtag.h:341
RPMTAG_CONFLICTFLAGS
Definition: rpmtag.h:122
RPMTAG_ENHANCENEVRS
Definition: rpmtag.h:330
RPMTAG_DSAHEADER
Definition: rpmtag.h:54
RPMTAG_POSTUNFLAGS
Definition: rpmtag.h:289
RPMTAG_PREINPROG
Definition: rpmtag.h:147
RPMTAG_PAYLOADCOMPRESSOR
Definition: rpmtag.h:189
RPMTAG_BLINKPKGID
Definition: rpmtag.h:231
RPMTAG_POLICIES
Definition: rpmtag.h:214
RPMTAG_REQUIRENAME
Definition: rpmtag.h:117