rpm 5.2.1

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

- File List
- Globals

tagtbl.c
Go to the documentation of this file.
1 #include "system.h"
2 #define _RPMTAG_INTERNAL
3 #include <rpmtag.h>
4 #include "debug.h"
5
6 /*@access headerTagTableEntry @*/
7
8 /*@observer@*/ /*@unchecked@*/
9 static const struct headerTagTableEntry_s _rpmTagTable[] = {
10 { "RPMTAG_ARCH", 1022, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
11 { "RPMTAG_ARCHIVESIZE", 1046, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
12 { "RPMTAG_BASENAMES", 1117, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
13 { "RPMTAG_BLINKHDRID", 1165, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
14 { "RPMTAG_BLINKNEVRA", 1166, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
15 { "RPMTAG_BLINKPKGID", 1164, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
16 { "RPMTAG_BUILDARCHS", 1089, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
17 { "RPMTAG_BUILDBUILD", 0x5bae1a5a, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
18 { "RPMTAG_BUILDBUILDPROG", 0x6fb46014, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
19 { "RPMTAG_BUILDCHECK", 0x7f3b97b5, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
20 { "RPMTAG_BUILDCHECKPROG", 0x488a60ce, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
21 { "RPMTAG_BUILDCLEAN", 0x566042bf, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
22 { "RPMTAG_BUILDCLEANPROG", 0x42c93d41, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
23 { "RPMTAG_BUILDCPUCLOCK", 1176, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
24 { "RPMTAG_BUILDHOST", 1007, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
25 { "RPMTAG_BUILDINSTALL", 0x567f5983, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
26 { "RPMTAG_BUILDINSTALLPROG", 0x70d4ab6f, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
27 { "RPMTAG_BUILDMACROS", 1111, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
28 { "RPMTAG_BUILDPLATFORMS", 1183, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
29 { "RPMTAG_BUILDPREP", 0x799c0b4d, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
30 { "RPMTAG_BUILDPREPPROG", 0x4ba37c9e, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
31 { "RPMTAG_BUILDTIME", 1006, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
32 { "RPMTAG_C", RPMTAG_CONFLICTNAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
33 { "RPMTAG_CACHECTIME", 1136, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
34 { "RPMTAG_CACHEPKGMTIME", 1139, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
35 { "RPMTAG_CACHEPKGPATH", 1137, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
36 { "RPMTAG_CACHEPKGSIZE", 1138, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
37 { "RPMTAG_CAPABILITY", 1105, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
38 { "RPMTAG_CHANGELOGNAME", 1081, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
39 { "RPMTAG_CHANGELOGTEXT", 1082, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
40 { "RPMTAG_CHANGELOGTIME", 1080, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
41 { "RPMTAG_CLASS", 1202, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
42 { "RPMTAG_CLASSDICT", 1142, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
43 { "RPMTAG_CONFLICTATTRSX", 1189, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
44 { "RPMTAG_CONFLICTFLAGS", 1053, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
45 { "RPMTAG_CONFLICTNAME", 1054, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
46 { "RPMTAG_CONFLICTS", RPMTAG_CONFLICTNAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
47 { "RPMTAG_CONFLICTVERSION", 1055, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
48 { "RPMTAG_COOKIE", 1094, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
49 { "RPMTAG_CVSID", 1163, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
50 { "RPMTAG_D", RPMTAG_DISTEPOCH, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
51 { "RPMTAG_DBINSTANCE", 1195, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
52 { "RPMTAG_DEPATTRSDICT", 1188, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
53 { "RPMTAG_DEPENDSDICT", 1145, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
54 { "RPMTAG_DESCRIPTION", 1005, RPM_I18NSTRING_TYPE + RPM_SCALAR_RETURN_TYPE },
55 { "RPMTAG_DIRINDEXES", 1116, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
56 { "RPMTAG_DIRNAMES", 1118, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
57 { "RPMTAG_DISTEPOCH", 1218, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
58 { "RPMTAG_DISTRIBUTION", 1010, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
59 { "RPMTAG_DISTTAG", 1155, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
60 { "RPMTAG_DISTURL", 1123, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
61 { "RPMTAG_DSAHEADER", RPMTAG_SIG_BASE+11, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
62 { "RPMTAG_E", RPMTAG_EPOCH, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
63 { "RPMTAG_ENHANCES", RPMTAG_ENHANCESNAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
64 { "RPMTAG_ENHANCESFLAGS", 1161, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
65 { "RPMTAG_ENHANCESNAME", 1159, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
66 { "RPMTAG_ENHANCESVERSION", 1160, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
67 { "RPMTAG_EPOCH", 1003, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
68 { "RPMTAG_EXCLUDEARCH", 1059, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
69 { "RPMTAG_EXCLUDEOS", 1060, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
70 { "RPMTAG_EXCLUSIVEARCH", 1061, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
71 { "RPMTAG_EXCLUSIVEOS", 1062, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
72 { "RPMTAG_FILECLASS", 1141, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
73 { "RPMTAG_FILECOLORS", 1140, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
74 { "RPMTAG_FILECONTEXTS", 1147, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
75 { "RPMTAG_FILEDEPENDSN", 1144, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
76 { "RPMTAG_FILEDEPENDSX", 1143, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
77 { "RPMTAG_FILEDEVICES", 1095, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
78 { "RPMTAG_FILEDIGESTALGO", 5011, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
79 { "RPMTAG_FILEDIGESTALGOS", 1177, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
80 { "RPMTAG_FILEDIGESTS", 1035, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
81 { "RPMTAG_FILEFLAGS", 1037, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
82 { "RPMTAG_FILEGROUPNAME", 1040, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
83 { "RPMTAG_FILEINODES", 1096, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
84 { "RPMTAG_FILELANGS", 1097, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
85 { "RPMTAG_FILELINKTOS", 1036, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
86 { "RPMTAG_FILEMD5S", RPMTAG_FILEDIGESTS, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
87 { "RPMTAG_FILEMODES", 1030, RPM_UINT16_TYPE + RPM_ARRAY_RETURN_TYPE },
88 { "RPMTAG_FILEMTIMES", 1034, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
89 { "RPMTAG_FILEPATHS", 1197, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
90 { "RPMTAG_FILERDEVS", 1033, RPM_UINT16_TYPE + RPM_ARRAY_RETURN_TYPE },
91 { "RPMTAG_FILESIZES", 1028, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
92 { "RPMTAG_FILESTAT", 1207, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
93 { "RPMTAG_FILESTATES", 1029, RPM_UINT8_TYPE + RPM_ARRAY_RETURN_TYPE },
94 { "RPMTAG_FILEUSERNAME", 1039, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
95 { "RPMTAG_FILEVERIFYFLAGS", 1045, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
96 { "RPMTAG_FILEXATTRSX", 1187, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
97 { "RPMTAG_FLINKHDRID", 1168, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
98 { "RPMTAG_FLINKNEVRA", 1169, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
99 { "RPMTAG_FLINKPKGID", 1167, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
100 { "RPMTAG_FSCONTEXTS", 1148, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
101 { "RPMTAG_GIF", 1012, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
102 { "RPMTAG_GROUP", 1016, RPM_I18NSTRING_TYPE + RPM_SCALAR_RETURN_TYPE },
103 { "RPMTAG_HDRID", RPMTAG_SHA1HEADER, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
104 { "RPMTAG_HEADERENDOFF", 1212, RPM_UINT64_TYPE + RPM_SCALAR_RETURN_TYPE },
105 { "RPMTAG_HEADERI18NTABLE", HEADER_I18NTABLE, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
106 { "RPMTAG_HEADERIMMUTABLE", HEADER_IMMUTABLE, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
107 { "RPMTAG_HEADERSTARTOFF", 1211, RPM_UINT64_TYPE + RPM_SCALAR_RETURN_TYPE },
108 { "RPMTAG_ICON", 1043, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
109 { "RPMTAG_INSTALLCOLOR", 1127, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
110 { "RPMTAG_INSTALLTID", 1128, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
111 { "RPMTAG_INSTALLTIME", 1008, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
112 { "RPMTAG_INSTPREFIXES", 1099, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
113 { "RPMTAG_KEYWORDS", 1182, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
114 { "RPMTAG_LICENSE", 1014, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
115 { "RPMTAG_N", RPMTAG_NAME, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
116 { "RPMTAG_NAME", 1000, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
117 { "RPMTAG_NVRA", 1196, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
118 { "RPMTAG_O", RPMTAG_OBSOLETENAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
119 { "RPMTAG_OBSOLETEATTRSX", 1190, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
120 { "RPMTAG_OBSOLETEFLAGS", 1114, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
121 { "RPMTAG_OBSOLETENAME", 1090, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
122 { "RPMTAG_OBSOLETES", RPMTAG_OBSOLETENAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
123 { "RPMTAG_OBSOLETEVERSION", 1115, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
124 { "RPMTAG_OLDFILENAMES", 1027, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
125 { "RPMTAG_OPTFLAGS", 1122, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
126 { "RPMTAG_ORIGBASENAMES", 1120, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
127 { "RPMTAG_ORIGDIRINDEXES", 1119, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
128 { "RPMTAG_ORIGDIRNAMES", 1121, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
129 { "RPMTAG_ORIGINTID", 1209, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
130 { "RPMTAG_ORIGINTIME", 1210, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
131 { "RPMTAG_ORIGPATHS", 1198, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
132 { "RPMTAG_OS", 1021, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
133 { "RPMTAG_P", RPMTAG_PROVIDENAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
134 { "RPMTAG_PACKAGEBASEURL", 1217, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
135 { "RPMTAG_PACKAGECOLOR", 1184, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
136 { "RPMTAG_PACKAGEDEPFLAGS", 0x748a8314, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
137 { "RPMTAG_PACKAGEDIGEST", 1215, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
138 { "RPMTAG_PACKAGEORIGIN", 1170, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
139 { "RPMTAG_PACKAGEPREFCOLOR", 1185, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
140 { "RPMTAG_PACKAGER", 1015, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
141 { "RPMTAG_PACKAGESIZE", 1214, RPM_UINT64_TYPE + RPM_SCALAR_RETURN_TYPE },
142 { "RPMTAG_PACKAGESTAT", 1216, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
143 { "RPMTAG_PACKAGETIME", 1213, RPM_UINT64_TYPE + RPM_SCALAR_RETURN_TYPE },
144 { "RPMTAG_PACKAGETRANSFLAGS", 0x4efaafd9, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
145 { "RPMTAG_PATCH", 1019, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
146 { "RPMTAG_PATCHESFLAGS", 1134, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
147 { "RPMTAG_PATCHESNAME", 1133, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
148 { "RPMTAG_PATCHESVERSION", 1135, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
149 { "RPMTAG_PAYLOADCOMPRESSOR", 1125, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
150 { "RPMTAG_PAYLOADFLAGS", 1126, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
151 { "RPMTAG_PAYLOADFORMAT", 1124, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
152 { "RPMTAG_PKGID", RPMTAG_SIGMD5, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
153 { "RPMTAG_PLATFORM", 1132, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
154 { "RPMTAG_POLICIES", 1150, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
155 { "RPMTAG_POSTIN", 1024, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
156 { "RPMTAG_POSTINPROG", 1086, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
157 { "RPMTAG_POSTTRANS", 1152, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
158 { "RPMTAG_POSTTRANSPROG", 1154, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
159 { "RPMTAG_POSTUN", 1026, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
160 { "RPMTAG_POSTUNPROG", 1088, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
161 { "RPMTAG_PREFIXES", 1098, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
162 { "RPMTAG_PREIN", 1023, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
163 { "RPMTAG_PREINPROG", 1085, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
164 { "RPMTAG_PRETRANS", 1151, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
165 { "RPMTAG_PRETRANSPROG", 1153, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
166 { "RPMTAG_PREUN", 1025, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
167 { "RPMTAG_PREUNPROG", 1087, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
168 { "RPMTAG_PRIORITY", 1162, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
169 { "RPMTAG_PROVIDEATTRSX", 1191, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
170 { "RPMTAG_PROVIDEFLAGS", 1112, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
171 { "RPMTAG_PROVIDENAME", 1047, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
172 { "RPMTAG_PROVIDES", RPMTAG_PROVIDENAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
173 { "RPMTAG_PROVIDEVERSION", 1113, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
174 { "RPMTAG_PUBKEYS", RPMTAG_SIG_BASE+10, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
175 { "RPMTAG_R", RPMTAG_RELEASE, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
176 { "RPMTAG_RECONTEXTS", 1149, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
177 { "RPMTAG_RELEASE", 1002, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
178 { "RPMTAG_REMOVETID", 1129, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
179 { "RPMTAG_REPOTAG", 1181, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
180 { "RPMTAG_REQUIREATTRSX", 1192, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
181 { "RPMTAG_REQUIREFLAGS", 1048, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
182 { "RPMTAG_REQUIRENAME", 1049, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
183 { "RPMTAG_REQUIRES", RPMTAG_REQUIRENAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
184 { "RPMTAG_REQUIREVERSION", 1050, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
185 { "RPMTAG_RHNPLATFORM", 1131, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
186 { "RPMTAG_RPMLIBTIMESTAMP", 1200, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
187 { "RPMTAG_RPMLIBVENDOR", 1201, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
188 { "RPMTAG_RPMLIBVERSION", 1199, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
189 { "RPMTAG_RPMVERSION", 1064, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
190 { "RPMTAG_RSAHEADER", RPMTAG_SIG_BASE+12, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
191 { "RPMTAG_SANITYCHECK", 1205, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
192 { "RPMTAG_SANITYCHECKPROG", 1206, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
193 { "RPMTAG_SCRIPTMETRICS", 1175, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
194 { "RPMTAG_SCRIPTSTATES", 1174, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
195 { "RPMTAG_SHA1HEADER", RPMTAG_SIG_BASE+13, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
196 { "RPMTAG_SIGGPG", RPMTAG_SIG_BASE+6, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
197 { "RPMTAG_SIGMD5", RPMTAG_SIG_BASE+5, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
198 { "RPMTAG_SIGPGP", RPMTAG_SIG_BASE+3, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
199 { "RPMTAG_SIGSIZE", RPMTAG_SIG_BASE+1, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
200 { "RPMTAG_SIZE", 1009, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
201 { "RPMTAG_SOURCE", 1018, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
202 { "RPMTAG_SOURCEPACKAGE", 1106, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
203 { "RPMTAG_SOURCEPKGID", 1146, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
204 { "RPMTAG_SOURCERPM", 1044, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
205 { "RPMTAG_STAT", 1208, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
206 { "RPMTAG_SUGGESTS", RPMTAG_SUGGESTSNAME, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
207 { "RPMTAG_SUGGESTSFLAGS", 1158, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
208 { "RPMTAG_SUGGESTSNAME", 1156, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
209 { "RPMTAG_SUGGESTSVERSION", 1157, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
210 { "RPMTAG_SUMMARY", 1004, RPM_I18NSTRING_TYPE + RPM_SCALAR_RETURN_TYPE },
211 { "RPMTAG_SVNID", RPMTAG_CVSID, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
212 { "RPMTAG_TRIGGERFLAGS", 1068, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
213 { "RPMTAG_TRIGGERINDEX", 1069, RPM_UINT32_TYPE + RPM_ARRAY_RETURN_TYPE },
214 { "RPMTAG_TRIGGERNAME", 1066, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
215 { "RPMTAG_TRIGGERSCRIPTPROG", 1092, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
216 { "RPMTAG_TRIGGERSCRIPTS", 1065, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
217 { "RPMTAG_TRIGGERVERSION", 1067, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
218 { "RPMTAG_URL", 1020, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
219 { "RPMTAG_V", RPMTAG_VERSION, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
220 { "RPMTAG_VARIANTS", 1178, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
221 { "RPMTAG_VENDOR", 1011, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
222 { "RPMTAG_VERIFYSCRIPT", 1079, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
223 { "RPMTAG_VERIFYSCRIPTPROG", 1091, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
224 { "RPMTAG_VERSION", 1001, RPM_STRING_TYPE + RPM_SCALAR_RETURN_TYPE },
225 { "RPMTAG_XATTRSDICT", 1186, RPM_STRING_ARRAY_TYPE + RPM_ARRAY_RETURN_TYPE },
226 { "RPMTAG_XMAJOR", 1179, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
227 { "RPMTAG_XMINOR", 1180, RPM_UINT32_TYPE + RPM_SCALAR_RETURN_TYPE },
228 { "RPMTAG_XPM", 1013, RPM_BIN_TYPE + RPM_SCALAR_RETURN_TYPE },
229 { NULL, 0, 0 }
230 };
231
232 /*@observer@*/ /*@unchecked@*/
233 headerTagTableEntry rpmTagTable = _rpmTagTable;
234
235 /*@unchecked@*/
236 int rpmTagTableSize = sizeof(_rpmTagTable) / sizeof(_rpmTagTable[0]) - 1;