rpm 4.11.90

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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