diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-12 12:08:14 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-12 12:08:14 +0100 |
commit | 43fd291ac199efdea4addbf3ec45a16dd3962b7f (patch) | |
tree | a90d43a9272e8def3375873d69cfbe4c7aaa375e | |
parent | 682e7693f77a15232dc07384a4bdd1c92f4ac42a (diff) |
upd REFLECTION for 0.3.0
-rw-r--r-- | REFLECTION | 307 |
1 files changed, 281 insertions, 26 deletions
@@ -1,30 +1,277 @@ -Extension [ <persistent> extension #129 rpminfo version 0.2.1 ] { +Extension [ <persistent> extension #94 rpminfo version 0.3.0 ] { - - Constants [24] { - Constant [ string RPMVERSION ] { 4.14.1 } - Constant [ integer RPMSENSE_ANY ] { 0 } - Constant [ integer RPMSENSE_LESS ] { 2 } - Constant [ integer RPMSENSE_GREATER ] { 4 } - Constant [ integer RPMSENSE_EQUAL ] { 8 } - Constant [ integer RPMSENSE_POSTTRANS ] { 32 } - Constant [ integer RPMSENSE_PREREQ ] { 64 } - Constant [ integer RPMSENSE_PRETRANS ] { 128 } - Constant [ integer RPMSENSE_INTERP ] { 256 } - Constant [ integer RPMSENSE_SCRIPT_PRE ] { 512 } - Constant [ integer RPMSENSE_SCRIPT_POST ] { 1024 } - Constant [ integer RPMSENSE_SCRIPT_PREUN ] { 2048 } - Constant [ integer RPMSENSE_SCRIPT_POSTUN ] { 4096 } - Constant [ integer RPMSENSE_SCRIPT_VERIFY ] { 8192 } - Constant [ integer RPMSENSE_FIND_REQUIRES ] { 16384 } - Constant [ integer RPMSENSE_FIND_PROVIDES ] { 32768 } - Constant [ integer RPMSENSE_TRIGGERIN ] { 65536 } - Constant [ integer RPMSENSE_TRIGGERUN ] { 131072 } - Constant [ integer RPMSENSE_TRIGGERPOSTUN ] { 262144 } - Constant [ integer RPMSENSE_MISSINGOK ] { 524288 } - Constant [ integer RPMSENSE_RPMLIB ] { 16777216 } - Constant [ integer RPMSENSE_TRIGGERPREIN ] { 33554432 } - Constant [ integer RPMSENSE_KEYRING ] { 67108864 } - Constant [ integer RPMSENSE_CONFIG ] { 268435456 } + - Constants [271] { + Constant [ string RPMVERSION ] { 4.15.1 } + Constant [ int RPMSENSE_ANY ] { 0 } + Constant [ int RPMSENSE_LESS ] { 2 } + Constant [ int RPMSENSE_GREATER ] { 4 } + Constant [ int RPMSENSE_EQUAL ] { 8 } + Constant [ int RPMSENSE_POSTTRANS ] { 32 } + Constant [ int RPMSENSE_PREREQ ] { 64 } + Constant [ int RPMSENSE_PRETRANS ] { 128 } + Constant [ int RPMSENSE_INTERP ] { 256 } + Constant [ int RPMSENSE_SCRIPT_PRE ] { 512 } + Constant [ int RPMSENSE_SCRIPT_POST ] { 1024 } + Constant [ int RPMSENSE_SCRIPT_PREUN ] { 2048 } + Constant [ int RPMSENSE_SCRIPT_POSTUN ] { 4096 } + Constant [ int RPMSENSE_SCRIPT_VERIFY ] { 8192 } + Constant [ int RPMSENSE_FIND_REQUIRES ] { 16384 } + Constant [ int RPMSENSE_FIND_PROVIDES ] { 32768 } + Constant [ int RPMSENSE_TRIGGERIN ] { 65536 } + Constant [ int RPMSENSE_TRIGGERUN ] { 131072 } + Constant [ int RPMSENSE_TRIGGERPOSTUN ] { 262144 } + Constant [ int RPMSENSE_MISSINGOK ] { 524288 } + Constant [ int RPMSENSE_RPMLIB ] { 16777216 } + Constant [ int RPMSENSE_TRIGGERPREIN ] { 33554432 } + Constant [ int RPMSENSE_KEYRING ] { 67108864 } + Constant [ int RPMSENSE_CONFIG ] { 268435456 } + Constant [ int RPMMIRE_DEFAULT ] { 0 } + Constant [ int RPMMIRE_STRCMP ] { 1 } + Constant [ int RPMMIRE_REGEX ] { 2 } + Constant [ int RPMMIRE_GLOB ] { 3 } + Constant [ int RPMTAG_ARCH ] { 1022 } + Constant [ int RPMTAG_ARCHIVESIZE ] { 1046 } + Constant [ int RPMTAG_BASENAMES ] { 1117 } + Constant [ int RPMTAG_BUGURL ] { 5012 } + Constant [ int RPMTAG_BUILDARCHS ] { 1089 } + Constant [ int RPMTAG_BUILDHOST ] { 1007 } + Constant [ int RPMTAG_BUILDTIME ] { 1006 } + Constant [ int RPMTAG_C ] { 1054 } + Constant [ int RPMTAG_CHANGELOGNAME ] { 1081 } + Constant [ int RPMTAG_CHANGELOGTEXT ] { 1082 } + Constant [ int RPMTAG_CHANGELOGTIME ] { 1080 } + Constant [ int RPMTAG_CLASSDICT ] { 1142 } + Constant [ int RPMTAG_CONFLICTFLAGS ] { 1053 } + Constant [ int RPMTAG_CONFLICTNAME ] { 1054 } + Constant [ int RPMTAG_CONFLICTNEVRS ] { 5044 } + Constant [ int RPMTAG_CONFLICTS ] { 1054 } + Constant [ int RPMTAG_CONFLICTVERSION ] { 1055 } + Constant [ int RPMTAG_COOKIE ] { 1094 } + Constant [ int RPMTAG_DBINSTANCE ] { 1195 } + Constant [ int RPMTAG_DEPENDSDICT ] { 1145 } + Constant [ int RPMTAG_DESCRIPTION ] { 1005 } + Constant [ int RPMTAG_DIRINDEXES ] { 1116 } + Constant [ int RPMTAG_DIRNAMES ] { 1118 } + Constant [ int RPMTAG_DISTRIBUTION ] { 1010 } + Constant [ int RPMTAG_DISTTAG ] { 1155 } + Constant [ int RPMTAG_DISTURL ] { 1123 } + Constant [ int RPMTAG_DSAHEADER ] { 267 } + Constant [ int RPMTAG_E ] { 1003 } + Constant [ int RPMTAG_ENCODING ] { 5062 } + Constant [ int RPMTAG_ENHANCEFLAGS ] { 5057 } + Constant [ int RPMTAG_ENHANCENAME ] { 5055 } + Constant [ int RPMTAG_ENHANCENEVRS ] { 5061 } + Constant [ int RPMTAG_ENHANCES ] { 5055 } + Constant [ int RPMTAG_ENHANCEVERSION ] { 5056 } + Constant [ int RPMTAG_EPOCH ] { 1003 } + Constant [ int RPMTAG_EPOCHNUM ] { 5019 } + Constant [ int RPMTAG_EVR ] { 5013 } + Constant [ int RPMTAG_EXCLUDEARCH ] { 1059 } + Constant [ int RPMTAG_EXCLUDEOS ] { 1060 } + Constant [ int RPMTAG_EXCLUSIVEARCH ] { 1061 } + Constant [ int RPMTAG_EXCLUSIVEOS ] { 1062 } + Constant [ int RPMTAG_FILECAPS ] { 5010 } + Constant [ int RPMTAG_FILECLASS ] { 1141 } + Constant [ int RPMTAG_FILECOLORS ] { 1140 } + Constant [ int RPMTAG_FILECONTEXTS ] { 1147 } + Constant [ int RPMTAG_FILEDEPENDSN ] { 1144 } + Constant [ int RPMTAG_FILEDEPENDSX ] { 1143 } + Constant [ int RPMTAG_FILEDEVICES ] { 1095 } + Constant [ int RPMTAG_FILEDIGESTALGO ] { 5011 } + Constant [ int RPMTAG_FILEDIGESTS ] { 1035 } + Constant [ int RPMTAG_FILEFLAGS ] { 1037 } + Constant [ int RPMTAG_FILEGROUPNAME ] { 1040 } + Constant [ int RPMTAG_FILEINODES ] { 1096 } + Constant [ int RPMTAG_FILELANGS ] { 1097 } + Constant [ int RPMTAG_FILELINKTOS ] { 1036 } + Constant [ int RPMTAG_FILEMD5S ] { 1035 } + Constant [ int RPMTAG_FILEMODES ] { 1030 } + Constant [ int RPMTAG_FILEMTIMES ] { 1034 } + Constant [ int RPMTAG_FILENAMES ] { 5000 } + Constant [ int RPMTAG_FILENLINKS ] { 5045 } + Constant [ int RPMTAG_FILEPROVIDE ] { 5001 } + Constant [ int RPMTAG_FILERDEVS ] { 1033 } + Constant [ int RPMTAG_FILEREQUIRE ] { 5002 } + Constant [ int RPMTAG_FILESIGNATURELENGTH ] { 5091 } + Constant [ int RPMTAG_FILESIGNATURES ] { 5090 } + Constant [ int RPMTAG_FILESIZES ] { 1028 } + Constant [ int RPMTAG_FILESTATES ] { 1029 } + Constant [ int RPMTAG_FILETRIGGERCONDS ] { 5086 } + Constant [ int RPMTAG_FILETRIGGERFLAGS ] { 5072 } + Constant [ int RPMTAG_FILETRIGGERINDEX ] { 5070 } + Constant [ int RPMTAG_FILETRIGGERNAME ] { 5069 } + Constant [ int RPMTAG_FILETRIGGERPRIORITIES ] { 5084 } + Constant [ int RPMTAG_FILETRIGGERSCRIPTFLAGS ] { 5068 } + Constant [ int RPMTAG_FILETRIGGERSCRIPTPROG ] { 5067 } + Constant [ int RPMTAG_FILETRIGGERSCRIPTS ] { 5066 } + Constant [ int RPMTAG_FILETRIGGERTYPE ] { 5087 } + Constant [ int RPMTAG_FILETRIGGERVERSION ] { 5071 } + Constant [ int RPMTAG_FILEUSERNAME ] { 1039 } + Constant [ int RPMTAG_FILEVERIFYFLAGS ] { 1045 } + Constant [ int RPMTAG_FSCONTEXTS ] { 1148 } + Constant [ int RPMTAG_GIF ] { 1012 } + Constant [ int RPMTAG_GROUP ] { 1016 } + Constant [ int RPMTAG_HDRID ] { 269 } + Constant [ int RPMTAG_HEADERCOLOR ] { 5017 } + Constant [ int RPMTAG_HEADERI18NTABLE ] { 100 } + Constant [ int RPMTAG_HEADERIMAGE ] { 61 } + Constant [ int RPMTAG_HEADERIMMUTABLE ] { 63 } + Constant [ int RPMTAG_HEADERREGIONS ] { 64 } + Constant [ int RPMTAG_HEADERSIGNATURES ] { 62 } + Constant [ int RPMTAG_ICON ] { 1043 } + Constant [ int RPMTAG_INSTALLCOLOR ] { 1127 } + Constant [ int RPMTAG_INSTALLTID ] { 1128 } + Constant [ int RPMTAG_INSTALLTIME ] { 1008 } + Constant [ int RPMTAG_INSTFILENAMES ] { 5040 } + Constant [ int RPMTAG_INSTPREFIXES ] { 1099 } + Constant [ int RPMTAG_LICENSE ] { 1014 } + Constant [ int RPMTAG_LONGARCHIVESIZE ] { 271 } + Constant [ int RPMTAG_LONGFILESIZES ] { 5008 } + Constant [ int RPMTAG_LONGSIGSIZE ] { 270 } + Constant [ int RPMTAG_LONGSIZE ] { 5009 } + Constant [ int RPMTAG_MODULARITYLABEL ] { 5096 } + Constant [ int RPMTAG_N ] { 1000 } + Constant [ int RPMTAG_NAME ] { 1000 } + Constant [ int RPMTAG_NEVR ] { 5015 } + Constant [ int RPMTAG_NEVRA ] { 5016 } + Constant [ int RPMTAG_NOPATCH ] { 1052 } + Constant [ int RPMTAG_NOSOURCE ] { 1051 } + Constant [ int RPMTAG_NVR ] { 5014 } + Constant [ int RPMTAG_NVRA ] { 1196 } + Constant [ int RPMTAG_O ] { 1090 } + Constant [ int RPMTAG_OBSOLETEFLAGS ] { 1114 } + Constant [ int RPMTAG_OBSOLETENAME ] { 1090 } + Constant [ int RPMTAG_OBSOLETENEVRS ] { 5043 } + Constant [ int RPMTAG_OBSOLETES ] { 1090 } + Constant [ int RPMTAG_OBSOLETEVERSION ] { 1115 } + Constant [ int RPMTAG_OLDENHANCES ] { 1159 } + Constant [ int RPMTAG_OLDENHANCESFLAGS ] { 1161 } + Constant [ int RPMTAG_OLDENHANCESNAME ] { 1159 } + Constant [ int RPMTAG_OLDENHANCESVERSION ] { 1160 } + Constant [ int RPMTAG_OLDFILENAMES ] { 1027 } + Constant [ int RPMTAG_OLDSUGGESTS ] { 1156 } + Constant [ int RPMTAG_OLDSUGGESTSFLAGS ] { 1158 } + Constant [ int RPMTAG_OLDSUGGESTSNAME ] { 1156 } + Constant [ int RPMTAG_OLDSUGGESTSVERSION ] { 1157 } + Constant [ int RPMTAG_OPTFLAGS ] { 1122 } + Constant [ int RPMTAG_ORDERFLAGS ] { 5037 } + Constant [ int RPMTAG_ORDERNAME ] { 5035 } + Constant [ int RPMTAG_ORDERVERSION ] { 5036 } + Constant [ int RPMTAG_ORIGBASENAMES ] { 1120 } + Constant [ int RPMTAG_ORIGDIRINDEXES ] { 1119 } + Constant [ int RPMTAG_ORIGDIRNAMES ] { 1121 } + Constant [ int RPMTAG_ORIGFILENAMES ] { 5007 } + Constant [ int RPMTAG_OS ] { 1021 } + Constant [ int RPMTAG_P ] { 1047 } + Constant [ int RPMTAG_PACKAGER ] { 1015 } + Constant [ int RPMTAG_PATCH ] { 1019 } + Constant [ int RPMTAG_PATCHESFLAGS ] { 1134 } + Constant [ int RPMTAG_PATCHESNAME ] { 1133 } + Constant [ int RPMTAG_PATCHESVERSION ] { 1135 } + Constant [ int RPMTAG_PAYLOADCOMPRESSOR ] { 1125 } + Constant [ int RPMTAG_PAYLOADDIGEST ] { 5092 } + Constant [ int RPMTAG_PAYLOADDIGESTALGO ] { 5093 } + Constant [ int RPMTAG_PAYLOADFLAGS ] { 1126 } + Constant [ int RPMTAG_PAYLOADFORMAT ] { 1124 } + Constant [ int RPMTAG_PKGID ] { 261 } + Constant [ int RPMTAG_PLATFORM ] { 1132 } + Constant [ int RPMTAG_POLICIES ] { 1150 } + Constant [ int RPMTAG_POLICYFLAGS ] { 5033 } + Constant [ int RPMTAG_POLICYNAMES ] { 5030 } + Constant [ int RPMTAG_POLICYTYPES ] { 5031 } + Constant [ int RPMTAG_POLICYTYPESINDEXES ] { 5032 } + Constant [ int RPMTAG_POSTIN ] { 1024 } + Constant [ int RPMTAG_POSTINFLAGS ] { 5021 } + Constant [ int RPMTAG_POSTINPROG ] { 1086 } + Constant [ int RPMTAG_POSTTRANS ] { 1152 } + Constant [ int RPMTAG_POSTTRANSFLAGS ] { 5025 } + Constant [ int RPMTAG_POSTTRANSPROG ] { 1154 } + Constant [ int RPMTAG_POSTUN ] { 1026 } + Constant [ int RPMTAG_POSTUNFLAGS ] { 5023 } + Constant [ int RPMTAG_POSTUNPROG ] { 1088 } + Constant [ int RPMTAG_PREFIXES ] { 1098 } + Constant [ int RPMTAG_PREIN ] { 1023 } + Constant [ int RPMTAG_PREINFLAGS ] { 5020 } + Constant [ int RPMTAG_PREINPROG ] { 1085 } + Constant [ int RPMTAG_PRETRANS ] { 1151 } + Constant [ int RPMTAG_PRETRANSFLAGS ] { 5024 } + Constant [ int RPMTAG_PRETRANSPROG ] { 1153 } + Constant [ int RPMTAG_PREUN ] { 1025 } + Constant [ int RPMTAG_PREUNFLAGS ] { 5022 } + Constant [ int RPMTAG_PREUNPROG ] { 1087 } + Constant [ int RPMTAG_PROVIDEFLAGS ] { 1112 } + Constant [ int RPMTAG_PROVIDENAME ] { 1047 } + Constant [ int RPMTAG_PROVIDENEVRS ] { 5042 } + Constant [ int RPMTAG_PROVIDES ] { 1047 } + Constant [ int RPMTAG_PROVIDEVERSION ] { 1113 } + Constant [ int RPMTAG_PUBKEYS ] { 266 } + Constant [ int RPMTAG_R ] { 1002 } + Constant [ int RPMTAG_RECOMMENDFLAGS ] { 5048 } + Constant [ int RPMTAG_RECOMMENDNAME ] { 5046 } + Constant [ int RPMTAG_RECOMMENDNEVRS ] { 5058 } + Constant [ int RPMTAG_RECOMMENDS ] { 5046 } + Constant [ int RPMTAG_RECOMMENDVERSION ] { 5047 } + Constant [ int RPMTAG_RECONTEXTS ] { 1149 } + Constant [ int RPMTAG_RELEASE ] { 1002 } + Constant [ int RPMTAG_REMOVETID ] { 1129 } + Constant [ int RPMTAG_REQUIREFLAGS ] { 1048 } + Constant [ int RPMTAG_REQUIRENAME ] { 1049 } + Constant [ int RPMTAG_REQUIRENEVRS ] { 5041 } + Constant [ int RPMTAG_REQUIRES ] { 1049 } + Constant [ int RPMTAG_REQUIREVERSION ] { 1050 } + Constant [ int RPMTAG_RPMVERSION ] { 1064 } + Constant [ int RPMTAG_RSAHEADER ] { 268 } + Constant [ int RPMTAG_SHA1HEADER ] { 269 } + Constant [ int RPMTAG_SHA256HEADER ] { 273 } + Constant [ int RPMTAG_SIGGPG ] { 262 } + Constant [ int RPMTAG_SIGMD5 ] { 261 } + Constant [ int RPMTAG_SIGPGP ] { 259 } + Constant [ int RPMTAG_SIGSIZE ] { 257 } + Constant [ int RPMTAG_SIZE ] { 1009 } + Constant [ int RPMTAG_SOURCE ] { 1018 } + Constant [ int RPMTAG_SOURCEPACKAGE ] { 1106 } + Constant [ int RPMTAG_SOURCEPKGID ] { 1146 } + Constant [ int RPMTAG_SOURCERPM ] { 1044 } + Constant [ int RPMTAG_SUGGESTFLAGS ] { 5051 } + Constant [ int RPMTAG_SUGGESTNAME ] { 5049 } + Constant [ int RPMTAG_SUGGESTNEVRS ] { 5059 } + Constant [ int RPMTAG_SUGGESTS ] { 5049 } + Constant [ int RPMTAG_SUGGESTVERSION ] { 5050 } + Constant [ int RPMTAG_SUMMARY ] { 1004 } + Constant [ int RPMTAG_SUPPLEMENTFLAGS ] { 5054 } + Constant [ int RPMTAG_SUPPLEMENTNAME ] { 5052 } + Constant [ int RPMTAG_SUPPLEMENTNEVRS ] { 5060 } + Constant [ int RPMTAG_SUPPLEMENTS ] { 5052 } + Constant [ int RPMTAG_SUPPLEMENTVERSION ] { 5053 } + Constant [ int RPMTAG_TRANSFILETRIGGERCONDS ] { 5088 } + Constant [ int RPMTAG_TRANSFILETRIGGERFLAGS ] { 5082 } + Constant [ int RPMTAG_TRANSFILETRIGGERINDEX ] { 5080 } + Constant [ int RPMTAG_TRANSFILETRIGGERNAME ] { 5079 } + Constant [ int RPMTAG_TRANSFILETRIGGERPRIORITIES ] { 5085 } + Constant [ int RPMTAG_TRANSFILETRIGGERSCRIPTFLAGS ] { 5078 } + Constant [ int RPMTAG_TRANSFILETRIGGERSCRIPTPROG ] { 5077 } + Constant [ int RPMTAG_TRANSFILETRIGGERSCRIPTS ] { 5076 } + Constant [ int RPMTAG_TRANSFILETRIGGERTYPE ] { 5089 } + Constant [ int RPMTAG_TRANSFILETRIGGERVERSION ] { 5081 } + Constant [ int RPMTAG_TRIGGERCONDS ] { 5005 } + Constant [ int RPMTAG_TRIGGERFLAGS ] { 1068 } + Constant [ int RPMTAG_TRIGGERINDEX ] { 1069 } + Constant [ int RPMTAG_TRIGGERNAME ] { 1066 } + Constant [ int RPMTAG_TRIGGERSCRIPTFLAGS ] { 5027 } + Constant [ int RPMTAG_TRIGGERSCRIPTPROG ] { 1092 } + Constant [ int RPMTAG_TRIGGERSCRIPTS ] { 1065 } + Constant [ int RPMTAG_TRIGGERTYPE ] { 5006 } + Constant [ int RPMTAG_TRIGGERVERSION ] { 1067 } + Constant [ int RPMTAG_URL ] { 1020 } + Constant [ int RPMTAG_V ] { 1001 } + Constant [ int RPMTAG_VCS ] { 5034 } + Constant [ int RPMTAG_VENDOR ] { 1011 } + Constant [ int RPMTAG_VERBOSE ] { 5018 } + Constant [ int RPMTAG_VERIFYSCRIPT ] { 1079 } + Constant [ int RPMTAG_VERIFYSCRIPTFLAGS ] { 5026 } + Constant [ int RPMTAG_VERIFYSCRIPTPROG ] { 1091 } + Constant [ int RPMTAG_VERSION ] { 1001 } + Constant [ int RPMTAG_XPM ] { 1013 } } - Functions { @@ -35,6 +282,14 @@ Extension [ <persistent> extension #129 rpminfo version 0.2.1 ] { Parameter #1 [ <optional> $full ] } } + Function [ <internal:rpminfo> function rpmdbsearch ] { + + - Parameters [3] { + Parameter #0 [ <required> $pattern ] + Parameter #1 [ <optional> $rpmtag ] + Parameter #2 [ <optional> $rpmmire ] + } + } Function [ <internal:rpminfo> function rpminfo ] { - Parameters [3] { |