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