Main Page Modules Data Structures File List Data Fields Globals Related Pages

# rpmdb/tagtbl.c

Go to the documentation of this file.

    00001 /*@-bounds@*/
    00002 #include "system.h"
    00003 #include <rpmlib.h>
    00004
    00005 /*@observer@*/ /*@unchecked@*/
    00006 static const struct headerTagTableEntry_s rpmTagTbl[] = {
    00007         { "RPMTAG_HEADERIMAGE", HEADER_IMAGE, },
    00008         { "RPMTAG_HEADERSIGNATURES", HEADER_SIGNATURES, },
    00009         { "RPMTAG_HEADERIMMUTABLE", HEADER_IMMUTABLE, },
    00010         { "RPMTAG_HEADERREGIONS", HEADER_REGIONS, },
    00011         { "RPMTAG_HEADERI18NTABLE", HEADER_I18NTABLE, },
    00012         { "RPMTAG_SIGSIZE", RPMTAG_SIG_BASE+1, },
    00013         { "RPMTAG_SIGPGP", RPMTAG_SIG_BASE+3, },
    00014         { "RPMTAG_SIGMD5", RPMTAG_SIG_BASE+5, },
    00015         { "RPMTAG_SIGGPG", RPMTAG_SIG_BASE+6, },
    00016         { "RPMTAG_PUBKEYS", RPMTAG_SIG_BASE+10, },
    00017         { "RPMTAG_DSAHEADER", RPMTAG_SIG_BASE+11, },
    00018         { "RPMTAG_RSAHEADER", RPMTAG_SIG_BASE+12, },
    00019         { "RPMTAG_SHA1HEADER", RPMTAG_SIG_BASE+13, },
    00020         { "RPMTAG_NAME", 1000, },
    00021         { "RPMTAG_VERSION", 1001, },
    00022         { "RPMTAG_RELEASE", 1002, },
    00023         { "RPMTAG_EPOCH", 1003, },
    00024         { "RPMTAG_SERIAL", RPMTAG_EPOCH },
    00025         { "RPMTAG_SUMMARY", 1004, },
    00026         { "RPMTAG_DESCRIPTION", 1005, },
    00027         { "RPMTAG_BUILDTIME", 1006, },
    00028         { "RPMTAG_BUILDHOST", 1007, },
    00029         { "RPMTAG_INSTALLTIME", 1008, },
    00030         { "RPMTAG_SIZE", 1009, },
    00031         { "RPMTAG_DISTRIBUTION", 1010, },
    00032         { "RPMTAG_VENDOR", 1011, },
    00033         { "RPMTAG_GIF", 1012, },
    00034         { "RPMTAG_XPM", 1013, },
    00035         { "RPMTAG_LICENSE", 1014, },
    00036         { "RPMTAG_COPYRIGHT", RPMTAG_LICENSE },
    00037         { "RPMTAG_PACKAGER", 1015, },
    00038         { "RPMTAG_GROUP", 1016, },
    00039         { "RPMTAG_SOURCE", 1018, },
    00040         { "RPMTAG_PATCH", 1019, },
    00041         { "RPMTAG_URL", 1020, },
    00042         { "RPMTAG_OS", 1021, },
    00043         { "RPMTAG_ARCH", 1022, },
    00044         { "RPMTAG_PREIN", 1023, },
    00045         { "RPMTAG_POSTIN", 1024, },
    00046         { "RPMTAG_PREUN", 1025, },
    00047         { "RPMTAG_POSTUN", 1026, },
    00048         { "RPMTAG_OLDFILENAMES", 1027, },
    00049         { "RPMTAG_FILESIZES", 1028, },
    00050         { "RPMTAG_FILESTATES", 1029, },
    00051         { "RPMTAG_FILEMODES", 1030, },
    00052         { "RPMTAG_FILERDEVS", 1033, },
    00053         { "RPMTAG_FILEMTIMES", 1034, },
    00054         { "RPMTAG_FILEMD5S", 1035, },
    00055         { "RPMTAG_FILELINKTOS", 1036, },
    00056         { "RPMTAG_FILEFLAGS", 1037, },
    00057         { "RPMTAG_FILEUSERNAME", 1039, },
    00058         { "RPMTAG_FILEGROUPNAME", 1040, },
    00059         { "RPMTAG_ICON", 1043, },
    00060         { "RPMTAG_SOURCERPM", 1044, },
    00061         { "RPMTAG_FILEVERIFYFLAGS", 1045, },
    00062         { "RPMTAG_ARCHIVESIZE", 1046, },
    00063         { "RPMTAG_PROVIDENAME", 1047, },
    00064         { "RPMTAG_PROVIDES", RPMTAG_PROVIDENAME },
    00065         { "RPMTAG_REQUIREFLAGS", 1048, },
    00066         { "RPMTAG_REQUIRENAME", 1049, },
    00067         { "RPMTAG_REQUIREVERSION", 1050, },
    00068         { "RPMTAG_CONFLICTFLAGS", 1053, },
    00069         { "RPMTAG_CONFLICTNAME", 1054, },
    00070         { "RPMTAG_CONFLICTVERSION", 1055, },
    00071         { "RPMTAG_EXCLUDEARCH", 1059, },
    00072         { "RPMTAG_EXCLUDEOS", 1060, },
    00073         { "RPMTAG_EXCLUSIVEARCH", 1061, },
    00074         { "RPMTAG_EXCLUSIVEOS", 1062, },
    00075         { "RPMTAG_RPMVERSION", 1064, },
    00076         { "RPMTAG_TRIGGERSCRIPTS", 1065, },
    00077         { "RPMTAG_TRIGGERNAME", 1066, },
    00078         { "RPMTAG_TRIGGERVERSION", 1067, },
    00079         { "RPMTAG_TRIGGERFLAGS", 1068, },
    00080         { "RPMTAG_TRIGGERINDEX", 1069, },
    00081         { "RPMTAG_VERIFYSCRIPT", 1079, },
    00082         { "RPMTAG_CHANGELOGTIME", 1080, },
    00083         { "RPMTAG_CHANGELOGNAME", 1081, },
    00084         { "RPMTAG_CHANGELOGTEXT", 1082, },
    00085         { "RPMTAG_PREINPROG", 1085, },
    00086         { "RPMTAG_POSTINPROG", 1086, },
    00087         { "RPMTAG_PREUNPROG", 1087, },
    00088         { "RPMTAG_POSTUNPROG", 1088, },
    00089         { "RPMTAG_BUILDARCHS", 1089, },
    00090         { "RPMTAG_OBSOLETENAME", 1090, },
    00091         { "RPMTAG_OBSOLETES", RPMTAG_OBSOLETENAME },
    00092         { "RPMTAG_VERIFYSCRIPTPROG", 1091, },
    00093         { "RPMTAG_TRIGGERSCRIPTPROG", 1092, },
    00094         { "RPMTAG_COOKIE", 1094, },
    00095         { "RPMTAG_FILEDEVICES", 1095, },
    00096         { "RPMTAG_FILEINODES", 1096, },
    00097         { "RPMTAG_FILELANGS", 1097, },
    00098         { "RPMTAG_PREFIXES", 1098, },
    00099         { "RPMTAG_INSTPREFIXES", 1099, },
    00100         { "RPMTAG_SOURCEPACKAGE", 1106, },
    00101         { "RPMTAG_PROVIDEFLAGS", 1112, },
    00102         { "RPMTAG_PROVIDEVERSION", 1113, },
    00103         { "RPMTAG_OBSOLETEFLAGS", 1114, },
    00104         { "RPMTAG_OBSOLETEVERSION", 1115, },
    00105         { "RPMTAG_DIRINDEXES", 1116, },
    00106         { "RPMTAG_BASENAMES", 1117, },
    00107         { "RPMTAG_DIRNAMES", 1118, },
    00108         { "RPMTAG_OPTFLAGS", 1122, },
    00109         { "RPMTAG_DISTURL", 1123, },
    00110         { "RPMTAG_PAYLOADFORMAT", 1124, },
    00111         { "RPMTAG_PAYLOADCOMPRESSOR", 1125, },
    00112         { "RPMTAG_PAYLOADFLAGS", 1126, },
    00113         { "RPMTAG_MULTILIBS", 1127, },
    00114         { "RPMTAG_INSTALLTID", 1128, },
    00115         { "RPMTAG_REMOVETID", 1129, },
    00116         { "RPMTAG_RHNPLATFORM", 1131, },
    00117         { "RPMTAG_PLATFORM", 1132, },
    00118         { "RPMTAG_PATCHESNAME", 1133, },
    00119         { "RPMTAG_PATCHESFLAGS", 1134, },
    00120         { "RPMTAG_PATCHESVERSION", 1135, },
    00121         { "RPMTAG_CACHECTIME", 1136, },
    00122         { "RPMTAG_CACHEPKGPATH", 1137, },
    00123         { "RPMTAG_CACHEPKGSIZE", 1138, },
    00124         { "RPMTAG_CACHEPKGMTIME", 1139, },
    00125         { NULL, 0 }
    00126 };
    00127
    00128 /*@observer@*/ /*@unchecked@*/
    00129 const struct headerTagTableEntry_s * rpmTagTable = rpmTagTbl;
    00130
    00131 /*@unchecked@*/
    00132 const int rpmTagTableSize = sizeof(rpmTagTbl) / sizeof(rpmTagTbl[0]) - 1;
    00133 /*@=bounds@*/