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_SIG_BASE+16 reserved */
RPMTAG_SHA256HEADER = RPMTAG_SIG_BASE+17, /* s */
/* RPMTAG_SIG_BASE+18 reserved for RPMSIGTAG_FILESIGNATURES */
/* RPMTAG_SIG_BASE+19 reserved for RPMSIGTAG_FILESIGNATURELENGTH */
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_PAYLOADDIGEST = 5092, /* s[] */
RPMTAG_PAYLOADDIGESTALGO = 5093, /* i */
RPMTAG_AUTOINSTALLED = 5094, /* i reservation (unimplemented) */
RPMTAG_IDENTITY = 5095, /* s reservation (unimplemented) */
RPMTAG_MODULARITYLABEL = 5096, /* s */
RPMTAG_PAYLOADDIGESTALT = 5097, /* s[] */
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_DSA = RPMTAG_DSAHEADER,
RPMSIGTAG_RSA = RPMTAG_RSAHEADER,
RPMSIGTAG_SHA1 = RPMTAG_SHA1HEADER,
RPMSIGTAG_LONGSIZE = RPMTAG_LONGSIGSIZE,
RPMSIGTAG_LONGARCHIVESIZE = RPMTAG_LONGARCHIVESIZE,
RPMSIGTAG_SHA256 = RPMTAG_SHA256HEADER,
RPMSIGTAG_FILESIGNATURES = RPMTAG_SIG_BASE + 18,
RPMSIGTAG_FILESIGNATURELENGTH = RPMTAG_SIG_BASE + 19,
} 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;
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 */
rpmTagGetType
rpmTagType rpmTagGetType(rpmTagVal tag)
Return tag data type from value.
RPMTAG_POLICYTYPESINDEXES
Definition: rpmtag.h:307
RPMTAG_XMINOR
Definition: rpmtag.h:257
RPMTAG_MSSFDOMAIN
Definition: rpmtag.h:314
RPMTAG_FILESIZES
Definition: rpmtag.h:103
RPMTAG_POSTIN
Definition: rpmtag.h:99
RPMTAG_REPOTAG
Definition: rpmtag.h:258
RPMTAG_FILESIGNATURES
Definition: rpmtag.h:369
RPM_STRING_ARRAY_TYPE
Definition: rpmtag.h:449
RPMDBI_SIGMD5
Definition: rpmtag.h:399
RPMTAG_OBSOLETENAME
Definition: rpmtag.h:162
RPMTAG_FILETRIGGERVERSION
Definition: rpmtag.h:350
RPMTAG_FILEVERIFYFLAGS
Definition: rpmtag.h:121
RPMTAG_VCS
Definition: rpmtag.h:309
RPMTAG_HEADERSIGNATURES
Definition: rpmtag.h:38
RPMTAG_FILEREQUIRE
Definition: rpmtag.h:278
RPMTAG_SOURCE
Definition: rpmtag.h:93
RPMTAG_POLICYTYPES
Definition: rpmtag.h:306
RPMTAG_SOURCEPKGID
Definition: rpmtag.h:220
RPMTAG_RECOMMENDNAME
Definition: rpmtag.h:321
RPM_MASK_RETURN_TYPE
Definition: rpmtag.h:474
RPMTAG_TRIGGERVERSION
Definition: rpmtag.h:148
RPMTAG_PREINFLAGS
Definition: rpmtag.h:296
RPMTAG_FILETRIGGERIN
Definition: rpmtag.h:342
RPMTAG_POLICIES
Definition: rpmtag.h:224
RPMTAG_TRANSFILETRIGGERINDEX
Definition: rpmtag.h:359
RPMTAG_ORDERFLAGS
Definition: rpmtag.h:312
RPMTAG_BUILDROOT
Definition: rpmtag.h:138
RPMTAG_TRANSFILETRIGGERTYPE
Definition: rpmtag.h:368
HEADER_IMMUTABLE
#define HEADER_IMMUTABLE
Definition: rpmtag.h:22
RPM_NULL_TYPE
Definition: rpmtag.h:441
RPMSIGTAG_PAYLOADSIZE
Definition: rpmtag.h:421
RPMTAG_PATCHESVERSION
Definition: rpmtag.h:209
RPMTAG_DISTTAG
Definition: rpmtag.h:229
RPMTAG_REQUIRENAME
Definition: rpmtag.h:127
RPMTAG_LONGFILESIZES
Definition: rpmtag.h:284
RPMTAG_POSTTRANSPROG
Definition: rpmtag.h:228
RPMTAG_NOT_FOUND
Definition: rpmtag.h:35
RPMTAG_ORDERNAME
Definition: rpmtag.h:310
RPMTAG_OLDENHANCESFLAGS
Definition: rpmtag.h:237
RPMTAG_TRANSFILETRIGGERUN
Definition: rpmtag.h:353
RPMTAG_FILEINODES
Definition: rpmtag.h:170
rpmTagGetNames
int rpmTagGetNames(rpmtd tagnames, int fullname)
Return known rpm tag names, sorted by name.
RPMTAG_ORIGDIRNAMES
Definition: rpmtag.h:195
RPMTAG_RELEASE
Definition: rpmtag.h:75
RPMTAG_FIRSTFREE_TAG
Definition: rpmtag.h:378
RPMTAG_HEADERIMMUTABLE
Definition: rpmtag.h:39
RPMTAG_TRIGGERINDEX
Definition: rpmtag.h:150
RPMTAG_VERIFYSCRIPT
Definition: rpmtag.h:151
RPMTAG_ENHANCENEVRS
Definition: rpmtag.h:340
HEADER_SIGNATURES
#define HEADER_SIGNATURES
Definition: rpmtag.h:21
RPMTAG_BUILDCONFLICTS
Definition: rpmtag.h:184
RPMTAG_FILETRIGGERINDEX
Definition: rpmtag.h:349
RPMTAG_HEADERIMAGE
Definition: rpmtag.h:37
RPMTAG_CACHEPKGPATH
Definition: rpmtag.h:211
RPMTAG_PROVIDEATTRSX
Definition: rpmtag.h:268
RPMTAG_FILECOLORS
Definition: rpmtag.h:214
RPMTAG_SUGGESTNEVRS
Definition: rpmtag.h:338
HEADER_IMAGE
#define HEADER_IMAGE
Header private tags.
Definition: rpmtag.h:20
RPMTAG_TRIGGERTYPE
Definition: rpmtag.h:282
RPMTAG_BUGURL
Definition: rpmtag.h:288
RPMTAG_OBSOLETEVERSION
Definition: rpmtag.h:189
RPMTAG_FILETRIGGERUN
Definition: rpmtag.h:343
RPMTAG_CLASSDICT
Definition: rpmtag.h:216
RPMTAG_SIGLEMD5_1
Definition: rpmtag.h:49
RPMTAG_CONFLICTNEVRS
Definition: rpmtag.h:319
RPMTAG_RECOMMENDVERSION
Definition: rpmtag.h:323
RPMTAG_TRIGGERIN
Definition: rpmtag.h:174
RPM_BIN_TYPE
Definition: rpmtag.h:448
RPM_ANY_RETURN_TYPE
Definition: rpmtag.h:470
RPMTAG_SIGSIZE
Definition: rpmtag.h:48
RPMTAG_NAME
Definition: rpmtag.h:71
RPMTAG_FILEDIGESTALGOS
Definition: rpmtag.h:254
RPMTAG_TRIGGERSCRIPTFLAGS
Definition: rpmtag.h:303
RPMTAG_BASENAMES
Definition: rpmtag.h:191
RPMTAG_POSTTRANS
Definition: rpmtag.h:226
RPMTAG_PROVIDENEVRS
Definition: rpmtag.h:317
RPMTAG_OLDSUGGESTSFLAGS
Definition: rpmtag.h:233
RPMTAG_IDENTITY
Definition: rpmtag.h:374
RPMTAG_ENCODING
Definition: rpmtag.h:341
RPMTAG_BUILDPLATFORMS
Definition: rpmtag.h:260
RPMTAG_RPMVERSION
Definition: rpmtag.h:145
RPMTAG_PROVIDEVERSION
Definition: rpmtag.h:187
RPMTAG_FILEMODES
Definition: rpmtag.h:105
RPMTAG_BUILDHOST
Definition: rpmtag.h:82
RPM_ARRAY_RETURN_TYPE
Definition: rpmtag.h:472
RPMTAG_SHA1RHN
Definition: rpmtag.h:204
RPMTAG_TRIGGERNAME
Definition: rpmtag.h:147
RPMTAG_FILENLINKS
Definition: rpmtag.h:320
RPMTAG_PLATFORM
Definition: rpmtag.h:206
RPMTAG_CACHECTIME
Definition: rpmtag.h:210
RPMTAG_NVR
Definition: rpmtag.h:290
RPMTAG_DSAHEADER
Definition: rpmtag.h:60
rpmTagReturnType_e
rpmTagReturnType_e
Definition: rpmtag.h:469
RPMTAG_EPOCH
Definition: rpmtag.h:77
RPMTAG_REMOVEPATHPOSTFIXES
Definition: rpmtag.h:362
RPMTAG_OLDSUGGESTSVERSION
Definition: rpmtag.h:232
RPM_SCALAR_RETURN_TYPE
Definition: rpmtag.h:471
RPMTAG_FSCONTEXTS
Definition: rpmtag.h:222
RPMTAG_FILEGROUPNAME
Definition: rpmtag.h:116
RPMTAG_OLDFILENAMES
Definition: rpmtag.h:102
RPMTAG_COLLECTIONS
Definition: rpmtag.h:304
RPMTAG_RHNPLATFORM
Definition: rpmtag.h:205
RPMDBI_INSTALLTID
Definition: rpmtag.h:398
RPMDBI_TRIGGERNAME
Definition: rpmtag.h:396
RPMTAG_VERIFYSCRIPTFLAGS
Definition: rpmtag.h:302
rpmSigTag_e
rpmSigTag_e
Tags found in signature header from package.
Definition: rpmtag.h:413
RPMTAG_RECOMMENDNEVRS
Definition: rpmtag.h:337
RPMTAG_BADSHA1_2
Definition: rpmtag.h:58
RPMTAG_BUILDENHANCES
Definition: rpmtag.h:250
RPMSIGTAG_DSA
Definition: rpmtag.h:425
RPMSIGTAG_RSA
Definition: rpmtag.h:426
RPMTAG_PRETRANSPROG
Definition: rpmtag.h:227
RPMTAG_SIGPGP5
Definition: rpmtag.h:55
RPMTAG_CAPABILITY
Definition: rpmtag.h:179
RPMTAG_BROKENMD5
Definition: rpmtag.h:155
RPMTAG_OBSOLETENEVRS
Definition: rpmtag.h:318
RPMTAG_BLINKPKGID
Definition: rpmtag.h:241
RPMTAG_POSTINPROG
Definition: rpmtag.h:158
RPMTAG_PROVIDENAME
Definition: rpmtag.h:123
RPMTAG_POSTTRANSFLAGS
Definition: rpmtag.h:301
RPMTAG_PREFIXES
Definition: rpmtag.h:172
RPMTAG_PRIORITY
Definition: rpmtag.h:238
RPMTAG_GROUP
Definition: rpmtag.h:91
RPMTAG_BUILDMACROS
Definition: rpmtag.h:185
RPMTAG_SUPPLEMENTNAME
Definition: rpmtag.h:329
RPMTAG_FSSIZES
Definition: rpmtag.h:280
RPMTAG_DIRNAMES
Definition: rpmtag.h:192
RPMTAG_FILELANGS
Definition: rpmtag.h:171
RPMTAG_TRANSFILETRIGGERSCRIPTS
Definition: rpmtag.h:355
RPMTAG_BUILDSUGGESTS
Definition: rpmtag.h:249
RPMTAG_INSTALLTIME
Definition: rpmtag.h:83
RPMDBI_INSTFILENAMES
Definition: rpmtag.h:401
RPMTAG_TRIGGERSCRIPTS
Definition: rpmtag.h:146
RPMTAG_VERSION
Definition: rpmtag.h:73
RPMTAG_AUTOINSTALLED
Definition: rpmtag.h:373
RPMTAG_INSTPREFIXES
Definition: rpmtag.h:173
RPMTAG_ENHANCEFLAGS
Definition: rpmtag.h:336
RPMDBI_PROVIDENAME
Definition: rpmtag.h:393
RPMDBI_OBSOLETENAME
Definition: rpmtag.h:395
RPMTAG_CHANGELOG
Definition: rpmtag.h:92
RPMTAG_POLICYNAMES
Definition: rpmtag.h:305
rpmTagGetClass
rpmTagClass rpmTagGetClass(rpmTagVal tag)
Return tag data class from value.
rpmTagTypeGetClass
rpmTagClass rpmTagTypeGetClass(rpmTagType type)
Return data class of type.
RPMTAG_ORIGBASENAMES
Definition: rpmtag.h:194
rpmFlags
uint32_t rpmFlags
Definition: rpmtypes.h:42
RPMTAG_FLINKNEVRA
Definition: rpmtag.h:246
RPMTAG_EXCLUSIVEOS
Definition: rpmtag.h:143
RPMTAG_RSAHEADER
Definition: rpmtag.h:61
RPMDBI_SUGGESTNAME
Definition: rpmtag.h:405
RPMTAG_FILEXATTRSX
Definition: rpmtag.h:264
rpmTagGetValue
rpmTagVal rpmTagGetValue(const char *tagstr)
Return tag value from name.
RPMTAG_PATCHESFLAGS
Definition: rpmtag.h:208
RPM_INT32_TYPE
Definition: rpmtag.h:445
RPM_MAPPING_RETURN_TYPE
Definition: rpmtag.h:473
RPMDBI_GROUP
Definition: rpmtag.h:391
RPMTAG_REMOVETID
Definition: rpmtag.h:203
RPMDBI_TRANSFILETRIGGERNAME
Definition: rpmtag.h:403
RPMTAG_BUILDPREREQ
Definition: rpmtag.h:182
RPM_CHAR_TYPE
Definition: rpmtag.h:442
RPMTAG_BLINKNEVRA
Definition: rpmtag.h:243
RPMTAG_CACHEPKGSIZE
Definition: rpmtag.h:212
RPM_STRING_TYPE
Definition: rpmtag.h:447
RPMTAG_FILECAPS
Definition: rpmtag.h:286
RPMTAG_PAYLOADDIGESTALT
Definition: rpmtag.h:376
RPMTAG_SIGGPG
Definition: rpmtag.h:54
RPMTAG_TRANSFILETRIGGERNAME
Definition: rpmtag.h:358
RPMTAG_FLINKPKGID
Definition: rpmtag.h:244
RPMTAG_FILEDEPENDSN
Definition: rpmtag.h:218
RPMTAG_POSTUNFLAGS
Definition: rpmtag.h:299
RPMTAG_BLINKHDRID
Definition: rpmtag.h:242
RPMSIGTAG_LONGSIZE
Definition: rpmtag.h:428
RPMDBI_LABEL
Definition: rpmtag.h:388
RPMTAG_FILETRIGGERPRIORITIES
Definition: rpmtag.h:363
RPMTAG_SUMMARY
Definition: rpmtag.h:79
RPMTAG_NOPATCH
Definition: rpmtag.h:131
rpmTagType_e
rpmTagType_e
The basic types of data in tags from headers.
Definition: rpmtag.h:439
RPMTAG_OLDSUGGESTSNAME
Definition: rpmtag.h:230
rpmTag
enum rpmTag_e rpmTag
Tags identify data in package headers.
RPM_NULL_CLASS
Definition: rpmtag.h:460
RPMTAG_TRIGGERFLAGS
Definition: rpmtag.h:149
RPMTAG_TRANSFILETRIGGERCONDS
Definition: rpmtag.h:367
RPMTAG_COOKIE
Definition: rpmtag.h:168
RPMTAG_FILETRIGGERCONDS
Definition: rpmtag.h:365
RPMTAG_CVSID
Definition: rpmtag.h:239
RPMTAG_REQUIREATTRSX
Definition: rpmtag.h:269
RPMTAG_CONFLICTNAME
Definition: rpmtag.h:133
rpmTagType
enum rpmTagType_e rpmTagType
The basic types of data in tags from headers.
RPM_NUMERIC_CLASS
Definition: rpmtag.h:461
RPMTAG_EXCLUDEOS
Definition: rpmtag.h:141
RPMTAG_FSNAMES
Definition: rpmtag.h:279
HEADER_I18NTABLE
#define HEADER_I18NTABLE
Definition: rpmtag.h:24
RPMTAG_PACKAGER
Definition: rpmtag.h:90
RPM_INT16_TYPE
Definition: rpmtag.h:444
rpmTagClass_e
rpmTagClass_e
The classes of data in tags from headers.
Definition: rpmtag.h:459
RPMTAG_FILEDEPENDSX
Definition: rpmtag.h:217
RPMTAG_BUILDCPUCLOCK
Definition: rpmtag.h:253
RPMTAG_OLDENHANCESVERSION
Definition: rpmtag.h:236
RPMTAG_CHANGELOGTEXT
Definition: rpmtag.h:154
RPMTAG_VERBOSE
Definition: rpmtag.h:294
RPMTAG_VARIANTS
Definition: rpmtag.h:255
RPMSIGTAG_SHA256
Definition: rpmtag.h:430
RPMTAG_OLDENHANCESNAME
Definition: rpmtag.h:234
rpmTagReturnType
rpmFlags rpmTagReturnType
Definition: rpmtag.h:477
RPMTAG_ICON
Definition: rpmtag.h:119
RPMTAG_TRIGGERCONDS
Definition: rpmtag.h:281
RPMTAG_TRANSFILETRIGGERPRIORITIES
Definition: rpmtag.h:364
RPMTAG_SIGPGP
Definition: rpmtag.h:50
RPMTAG_OBSOLETEFLAGS
Definition: rpmtag.h:188
RPMTAG_ARCH
Definition: rpmtag.h:97
RPMTAG_CACHEPKGMTIME
Definition: rpmtag.h:213
RPMTAG_REQUIRENEVRS
Definition: rpmtag.h:316
RPMTAG_LICENSE
Definition: rpmtag.h:89
HEADER_REGIONS
#define HEADER_REGIONS
Definition: rpmtag.h:23
RPMTAG_SHA256HEADER
Definition: rpmtag.h:67
RPMTAG_FILETRIGGERFLAGS
Definition: rpmtag.h:351
RPMTAG_BUILDTIME
Definition: rpmtag.h:81
rpmTag_e
rpmTag_e
Tags identify data in package headers.
Definition: rpmtag.h:34
RPMTAG_TRANSFILETRIGGERSCRIPTPROG
Definition: rpmtag.h:356
RPMSIGTAG_GPG
Definition: rpmtag.h:419
RPMTAG_CONFLICTVERSION
Definition: rpmtag.h:136
RPMTAG_SIG_BASE
Definition: rpmtag.h:47
RPMTAG_PREUNPROG
Definition: rpmtag.h:159
RPMTAG_ORDERVERSION
Definition: rpmtag.h:311
rpmSigTag
enum rpmSigTag_e rpmSigTag
Tags found in signature header from package.
RPMSIGTAG_MD5
Definition: rpmtag.h:418
RPMTAG_POSTUN
Definition: rpmtag.h:101
RPMTAG_FILEMTIMES
Definition: rpmtag.h:109
RPMTAG_TRIGGERPREIN
Definition: rpmtag.h:248
RPMTAG_LONGSIZE
Definition: rpmtag.h:285
RPMTAG_DESCRIPTION
Definition: rpmtag.h:80
RPMTAG_PRETRANSFLAGS
Definition: rpmtag.h:300
RPMTAG_TRANSFILETRIGGERSCRIPTFLAGS
Definition: rpmtag.h:357
rpmDbiTag_e
rpmDbiTag_e
Rpm database index tags.
Definition: rpmtag.h:386
RPMTAG_ARCHIVESIZE
Definition: rpmtag.h:122
RPMDBI_SHA1HEADER
Definition: rpmtag.h:400
RPMTAG_PAYLOADDIGESTALGO
Definition: rpmtag.h:372
RPMTAG_INSTALLTID
Definition: rpmtag.h:202
RPMTAG_PACKAGECOLOR
Definition: rpmtag.h:261
RPMTAG_SUPPLEMENTVERSION
Definition: rpmtag.h:331
RPMTAG_CONFLICTATTRSX
Definition: rpmtag.h:266
RPMTAG_SUGGESTVERSION
Definition: rpmtag.h:327
rpmTagVal
rpm_tag_t rpmTagVal
Definition: rpmtypes.h:30
RPMTAG_CHANGELOGTIME
Definition: rpmtag.h:152
RPMTAG_KEYWORDS
Definition: rpmtag.h:259
RPMTAG_FILEGIDS
Definition: rpmtag.h:107
RPMTAG_AUTOREQPROV
Definition: rpmtag.h:144
RPMTAG_PAYLOADCOMPRESSOR
Definition: rpmtag.h:199
RPMTAG_FILETRIGGERTYPE
Definition: rpmtag.h:366
RPMTAG_PAYLOADFORMAT
Definition: rpmtag.h:198
RPMTAG_RECOMMENDFLAGS
Definition: rpmtag.h:324
RPMTAG_FILESIGNATURELENGTH
Definition: rpmtag.h:370
RPMDBI_BASENAMES
Definition: rpmtag.h:390
RPMTAG_PREREQ
Definition: rpmtag.h:156
RPMTAG_TRIGGERUN
Definition: rpmtag.h:175
RPMTAG_POSTINFLAGS
Definition: rpmtag.h:297
RPMTAG_PREINPROG
Definition: rpmtag.h:157
RPMTAG_TRANSFILETRIGGERFLAGS
Definition: rpmtag.h:361
RPMSIGTAG_SIZE
Definition: rpmtag.h:414
RPMTAG_PATCHESNAME
Definition: rpmtag.h:207
RPMTAG_VENDOR
Definition: rpmtag.h:86
HEADER_SIGBASE
#define HEADER_SIGBASE
Definition: rpmtag.h:25
RPMTAG_REQUIREFLAGS
Definition: rpmtag.h:126
RPMTAG_BADSHA1_1
Definition: rpmtag.h:57
RPMTAG_SOURCERPM
Definition: rpmtag.h:120
RPMTAG_EVR
Definition: rpmtag.h:289
RPMTAG_NOSOURCE
Definition: rpmtag.h:130
RPMDBI_SUPPLEMENTNAME
Definition: rpmtag.h:406
RPMTAG_TRANSFILETRIGGERIN
Definition: rpmtag.h:352
RPMTAG_ORIGDIRINDEXES
Definition: rpmtag.h:193
RPMTAG_HEADERCOLOR
Definition: rpmtag.h:293
RPMTAG_SIZE
Definition: rpmtag.h:84
RPMTAG_TRANSFILETRIGGERVERSION
Definition: rpmtag.h:360
RPMSIGTAG_LONGARCHIVESIZE
Definition: rpmtag.h:429
RPMSIGTAG_BADSHA1_1
Definition: rpmtag.h:423
RPMTAG_BUILDOBSOLETES
Definition: rpmtag.h:271
RPMTAG_REQUIREVERSION
Definition: rpmtag.h:129
RPMTAG_TRANSFILETRIGGERPOSTUN
Definition: rpmtag.h:354
RPMTAG_BUILDPROVIDES
Definition: rpmtag.h:270
RPMTAG_TRIGGERSCRIPTPROG
Definition: rpmtag.h:166
RPMTAG_EPOCHNUM
Definition: rpmtag.h:295
RPMTAG_OBSOLETEATTRSX
Definition: rpmtag.h:267
RPMTAG_SCRIPTMETRICS
Definition: rpmtag.h:252
RPMSIGTAG_BADSHA1_2
Definition: rpmtag.h:424
RPMTAG_PACKAGEPREFCOLOR
Definition: rpmtag.h:262
RPMTAG_DIRINDEXES
Definition: rpmtag.h:190
RPMTAG_FILETRIGGERSCRIPTS
Definition: rpmtag.h:345
RPMTAG_FILECONTEXTS
Definition: rpmtag.h:221
RPMTAG_SHA1HEADER
Definition: rpmtag.h:62
RPMTAG_EXCLUDEARCH
Definition: rpmtag.h:140
RPMTAG_DISTURL
Definition: rpmtag.h:197
RPM_INT64_TYPE
Definition: rpmtag.h:446
rpmtd_s
Container for rpm tag data (from headers or extensions).
Definition: rpmtd.h:32
RPMTAG_OLDORIGFILENAMES
Definition: rpmtag.h:181
RPMTAG_PREIN
Definition: rpmtag.h:98
RPMTAG_FILERDEVS
Definition: rpmtag.h:108
RPMTAG_XATTRSDICT
Definition: rpmtag.h:263
RPMTAG_MSSFMANIFEST
Definition: rpmtag.h:313
RPMDBI_RECOMMENDNAME
Definition: rpmtag.h:404
RPMTAG_FILEDIGESTALGO
Definition: rpmtag.h:287
RPMTAG_DEPATTRSDICT
Definition: rpmtag.h:265
RPMTAG_FILETRIGGERNAME
Definition: rpmtag.h:348
RPMTAG_PACKAGEORIGIN
Definition: rpmtag.h:247
RPMTAG_ENHANCEVERSION
Definition: rpmtag.h:335
RPMTAG_AUTOPROV
Definition: rpmtag.h:178
RPMTAG_PREUNFLAGS
Definition: rpmtag.h:298
RPMTAG_SCRIPTSTATES
Definition: rpmtag.h:251
RPMTAG_PUBKEYS
Definition: rpmtag.h:59
RPMTAG_SUPPLEMENTNEVRS
Definition: rpmtag.h:339
RPMTAG_PREUN
Definition: rpmtag.h:100
RPMTAG_NVRA
Definition: rpmtag.h:273
RPMTAG_BUILDREQUIRES
Definition: rpmtag.h:183
RPMTAG_DISTRIBUTION
Definition: rpmtag.h:85
RPMTAG_DEPENDSDICT
Definition: rpmtag.h:219
RPMTAG_MODULARITYLABEL
Definition: rpmtag.h:375
RPMTAG_PAYLOADFLAGS
Definition: rpmtag.h:200
RPMTAG_HEADERREGIONS
Definition: rpmtag.h:40
RPMTAG_CONFLICTFLAGS
Definition: rpmtag.h:132
RPMTAG_EXCLUDE
Definition: rpmtag.h:117
RPMDBI_FILETRIGGERNAME
Definition: rpmtag.h:402
RPMTAG_FLINKHDRID
Definition: rpmtag.h:245
RPMTAG_ORIGFILENAMES
Definition: rpmtag.h:283
RPM_I18NSTRING_TYPE
Definition: rpmtag.h:450
RPMSIGTAG_PGP
Definition: rpmtag.h:416
RPMSIGTAG_RESERVEDSPACE
Definition: rpmtag.h:422
RPMDBI_DIRNAMES
Definition: rpmtag.h:397
RPMTAG_ROOT
Definition: rpmtag.h:114
RPMTAG_EXCLUSIVEARCH
Definition: rpmtag.h:142
RPMTAG_PAYLOADDIGEST
Definition: rpmtag.h:371
RPMTAG_FILETRIGGERSCRIPTFLAGS
Definition: rpmtag.h:347
RPMSIGTAG_LEMD5_1
Definition: rpmtag.h:415
RPMTAG_SOURCEPACKAGE
Definition: rpmtag.h:180
RPMTAG_SUGGESTNAME
Definition: rpmtag.h:325
RPMTAG_SIGLEMD5_2
Definition: rpmtag.h:51
RPMTAG_FILEDEVICES
Definition: rpmtag.h:169
RPMSIGTAG_LEMD5_2
Definition: rpmtag.h:417
rpmTagClass
enum rpmTagClass_e rpmTagClass
The classes of data in tags from headers.
RPMTAG_NEVRA
Definition: rpmtag.h:292
rpmTagGetName
const char * rpmTagGetName(rpmTagVal tag)
Return tag name from value.
RPMTAG_URL
Definition: rpmtag.h:95
RPMTAG_INSTFILENAMES
Definition: rpmtag.h:315
RPMTAG_FILEFLAGS
Definition: rpmtag.h:113
RPMSIGTAG_FILESIGNATURELENGTH
Definition: rpmtag.h:432
RPMDBI_NAME
Definition: rpmtag.h:389
RPMTAG_DBINSTANCE
Definition: rpmtag.h:272
RPMTAG_GIF
Definition: rpmtag.h:87
RPMDBI_ENHANCENAME
Definition: rpmtag.h:407
RPMTAG_FILEDIGESTS
Definition: rpmtag.h:110
RPMTAG_FILELINKTOS
Definition: rpmtag.h:112
RPMTAG_XPM
Definition: rpmtag.h:88
RPMTAG_FILENAMES
Definition: rpmtag.h:276
RPMSIGTAG_FILESIGNATURES
Definition: rpmtag.h:431
RPMTAG_POSTUNPROG
Definition: rpmtag.h:160
RPMTAG_AUTOREQ
Definition: rpmtag.h:177
RPMTAG_INSTALLPREFIX
Definition: rpmtag.h:139
RPMTAG_FILEUIDS
Definition: rpmtag.h:106
RPMTAG_OPTFLAGS
Definition: rpmtag.h:196
RPMTAG_POLICYFLAGS
Definition: rpmtag.h:308
RPMSIGTAG_PGP5
Definition: rpmtag.h:420
RPMTAG_CHANGELOGNAME
Definition: rpmtag.h:153
RPMSIGTAG_SHA1
Definition: rpmtag.h:427
RPMTAG_DEFAULTPREFIX
Definition: rpmtag.h:137
RPMTAG_DOCDIR
Definition: rpmtag.h:167
RPMTAG_PATCH
Definition: rpmtag.h:94
RPMTAG_NEVR
Definition: rpmtag.h:291
RPMDBI_REQUIRENAME
Definition: rpmtag.h:392
RPMDBI_PACKAGES
Definition: rpmtag.h:387
RPMTAG_XMAJOR
Definition: rpmtag.h:256
RPMTAG_BUILDARCHS
Definition: rpmtag.h:161
RPMTAG_INSTALLCOLOR
Definition: rpmtag.h:201
RPMTAG_FILECLASS
Definition: rpmtag.h:215
RPM_INT8_TYPE
Definition: rpmtag.h:443
RPMTAG_FILEUSERNAME
Definition: rpmtag.h:115
RPMTAG_FILEPROVIDE
Definition: rpmtag.h:277
RPMTAG_FILETRIGGERSCRIPTPROG
Definition: rpmtag.h:346
RPMTAG_EXCLUSIVE
Definition: rpmtag.h:118
RPMTAG_FILETRIGGERPOSTUN
Definition: rpmtag.h:344
rpmDbiTag
enum rpmDbiTag_e rpmDbiTag
Rpm database index tags.
RPMTAG_SIGMD5
Definition: rpmtag.h:52
RPM_STRING_CLASS
Definition: rpmtag.h:462
RPMTAG_PRETRANS
Definition: rpmtag.h:225
rpmTagGetTagType
rpmTagType rpmTagGetTagType(rpmTagVal tag)
Return tag data type from value.
rpmTagGetReturnType
rpmTagReturnType rpmTagGetReturnType(rpmTagVal tag)
Return tag data type from value.
RPMTAG_HEADERI18NTABLE
Definition: rpmtag.h:42
RPMTAG_PROVIDEFLAGS
Definition: rpmtag.h:186
RPMDBI_CONFLICTNAME
Definition: rpmtag.h:394
RPMTAG_TRIGGERPOSTUN
Definition: rpmtag.h:176
RPMTAG_RECONTEXTS
Definition: rpmtag.h:223
RPMTAG_SUGGESTFLAGS
Definition: rpmtag.h:328
RPMTAG_ENHANCENAME
Definition: rpmtag.h:333
RPM_BINARY_CLASS
Definition: rpmtag.h:463
RPMTAG_SUPPLEMENTFLAGS
Definition: rpmtag.h:332
RPMTAG_OS
Definition: rpmtag.h:96
RPMTAG_FILESTATES
Definition: rpmtag.h:104
RPMTAG_LONGARCHIVESIZE
Definition: rpmtag.h:65
RPMTAG_LONGSIGSIZE
Definition: rpmtag.h:64
RPMTAG_VERIFYSCRIPTPROG
Definition: rpmtag.h:165