预定义常量

下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。

RPMVERSION (string)
System librpm version.
RPMSENSE_ANY (integer)
RPMSENSE_LESS (integer)
RPMSENSE_GREATER (integer)
RPMSENSE_EQUAL (integer)
RPMSENSE_POSTTRANS (integer)
RPMSENSE_PREREQ (integer)
RPMSENSE_PRETRANS (integer)
RPMSENSE_INTERP (integer)
RPMSENSE_SCRIPT_PRE (integer)
RPMSENSE_SCRIPT_POST (integer)
RPMSENSE_SCRIPT_PREUN (integer)
RPMSENSE_SCRIPT_POSTUN (integer)
RPMSENSE_SCRIPT_VERIFY (integer)
RPMSENSE_FIND_REQUIRES (integer)
RPMSENSE_FIND_PROVIDES (integer)
RPMSENSE_TRIGGERIN (integer)
RPMSENSE_TRIGGERUN (integer)
RPMSENSE_TRIGGERPOSTUN (integer)
RPMSENSE_MISSINGOK (integer)
RPMSENSE_RPMLIB (integer)
RPMSENSE_TRIGGERPREIN (integer)
RPMSENSE_KEYRING (integer)
RPMSENSE_CONFIG (integer)
RPMMIRE_DEFAULT (integer)
Search pattern is a regular expression with \., .* and ^...$ added.
RPMMIRE_STRCMP (integer)
Search pattern is a string, using strcmp(3).
RPMMIRE_REGEX (integer)
Search pattern is a regular expression, using regcomp(3).
RPMMIRE_GLOB (integer)
Search pattern is a glob expression, using fnmatch(3).
RPMTAG_ARCH (integer)
RPMTAG_ARCHIVESIZE (integer)
RPMTAG_BASENAMES (integer)
Name (not path) of files, with database index.
RPMTAG_BUGURL (integer)
RPMTAG_BUILDARCHS (integer)
RPMTAG_BUILDHOST (integer)
RPMTAG_BUILDTIME (integer)
RPMTAG_C (integer)
RPMTAG_CHANGELOGNAME (integer)
RPMTAG_CHANGELOGTEXT (integer)
RPMTAG_CHANGELOGTIME (integer)
RPMTAG_CLASSDICT (integer)
RPMTAG_CONFLICTFLAGS (integer)
RPMTAG_CONFLICTNAME (integer)
Conflicting dependencies, with database index.
RPMTAG_CONFLICTNEVRS (integer)
RPMTAG_CONFLICTS (integer)
RPMTAG_CONFLICTVERSION (integer)
RPMTAG_DBINSTANCE (integer)
RPMTAG_DEPENDSDICT (integer)
RPMTAG_DESCRIPTION (integer)
RPMTAG_DIRINDEXES (integer)
RPMTAG_DIRNAMES (integer)
Directory of files, with database index.
RPMTAG_DISTRIBUTION (integer)
RPMTAG_DISTTAG (integer)
RPMTAG_DISTURL (integer)
RPMTAG_DSAHEADER (integer)
RPMTAG_E (integer)
RPMTAG_ENCODING (integer)
RPMTAG_ENHANCEFLAGS (integer)
RPMTAG_ENHANCENAME (integer)
Weak dependencies, with database index, requires librpm >= 4.13.
RPMTAG_ENHANCENEVRS (integer)
RPMTAG_ENHANCES (integer)
RPMTAG_ENHANCEVERSION (integer)
RPMTAG_EPOCH (integer)
RPMTAG_EPOCHNUM (integer)
RPMTAG_EVR (integer)
RPMTAG_EXCLUDEARCH (integer)
RPMTAG_EXCLUDEOS (integer)
RPMTAG_EXCLUSIVEARCH (integer)
RPMTAG_EXCLUSIVEOS (integer)
RPMTAG_FILECAPS (integer)
RPMTAG_FILECLASS (integer)
RPMTAG_FILECOLORS (integer)
RPMTAG_FILECONTEXTS (integer)
RPMTAG_FILEDEPENDSN (integer)
RPMTAG_FILEDEPENDSX (integer)
RPMTAG_FILEDEVICES (integer)
RPMTAG_FILEDIGESTALGO (integer)
RPMTAG_FILEDIGESTS (integer)
RPMTAG_FILEFLAGS (integer)
RPMTAG_FILEGROUPNAME (integer)
RPMTAG_FILEINODES (integer)
RPMTAG_FILELANGS (integer)
RPMTAG_FILELINKTOS (integer)
RPMTAG_FILEMD5S (integer)
RPMTAG_FILEMODES (integer)
RPMTAG_FILEMTIMES (integer)
RPMTAG_FILENAMES (integer)
RPMTAG_FILEPROVIDE (integer)
RPMTAG_FILERDEVS (integer)
RPMTAG_FILEREQUIRE (integer)
RPMTAG_FILESIGNATURELENGTH (integer)
RPMTAG_FILESIGNATURES (integer)
RPMTAG_FILESIZES (integer)
RPMTAG_FILESTATES (integer)
RPMTAG_FILETRIGGERCONDS (integer)
RPMTAG_FILETRIGGERFLAGS (integer)
RPMTAG_FILETRIGGERINDEX (integer)
RPMTAG_FILETRIGGERNAME (integer)
File trigger name, with database index, requires librpm >= 4.13.
RPMTAG_FILETRIGGERPRIORITIES (integer)
RPMTAG_FILETRIGGERSCRIPTFLAGS (integer)
RPMTAG_FILETRIGGERSCRIPTPROG (integer)
RPMTAG_FILETRIGGERSCRIPTS (integer)
RPMTAG_FILETRIGGERTYPE (integer)
RPMTAG_FILETRIGGERVERSION (integer)
RPMTAG_FILEUSERNAME (integer)
RPMTAG_FILEVERIFYFLAGS (integer)
RPMTAG_FSCONTEXTS (integer)
RPMTAG_GIF (integer)
RPMTAG_GROUP (integer)
Group of the package, with database index.
RPMTAG_HDRID (integer)
RPMTAG_HEADERCOLOR (integer)
RPMTAG_HEADERI18NTABLE (integer)
RPMTAG_HEADERIMAGE (integer)
RPMTAG_HEADERIMMUTABLE (integer)
RPMTAG_HEADERREGIONS (integer)
RPMTAG_HEADERSIGNATURES (integer)
RPMTAG_ICON (integer)
RPMTAG_INSTALLCOLOR (integer)
RPMTAG_INSTALLTID (integer)
Installation transaction ID, with database index.
RPMTAG_INSTALLTIME (integer)
RPMTAG_INSTFILENAMES (integer)
Path of files, with database index.
RPMTAG_INSTPREFIXES (integer)
RPMTAG_LICENSE (integer)
RPMTAG_LONGARCHIVESIZE (integer)
RPMTAG_LONGFILESIZES (integer)
RPMTAG_LONGSIGSIZE (integer)
RPMTAG_LONGSIZE (integer)
RPMTAG_MODULARITYLABEL (integer)
RPMTAG_N (integer)
RPMTAG_NAME (integer)
Package name, with database index.
RPMTAG_NEVR (integer)
RPMTAG_NEVRA (integer)
RPMTAG_NOPATCH (integer)
RPMTAG_NOSOURCE (integer)
RPMTAG_NVR (integer)
RPMTAG_NVRA (integer)
RPMTAG_O (integer)
RPMTAG_OBSOLETEFLAGS (integer)
RPMTAG_OBSOLETENAME (integer)
Obsoleted packages, with database index.
RPMTAG_OBSOLETENEVRS (integer)
RPMTAG_OBSOLETES (integer)
RPMTAG_OBSOLETEVERSION (integer)
RPMTAG_OLDENHANCES (integer)
RPMTAG_OLDENHANCESFLAGS (integer)
RPMTAG_OLDENHANCESNAME (integer)
RPMTAG_OLDENHANCESVERSION (integer)
RPMTAG_OLDFILENAMES (integer)
RPMTAG_OLDSUGGESTS (integer)
RPMTAG_OLDSUGGESTSFLAGS (integer)
RPMTAG_OLDSUGGESTSNAME (integer)
RPMTAG_OLDSUGGESTSVERSION (integer)
RPMTAG_OPTFLAGS (integer)
RPMTAG_ORDERFLAGS (integer)
RPMTAG_ORDERNAME (integer)
RPMTAG_ORDERVERSION (integer)
RPMTAG_ORIGBASENAMES (integer)
RPMTAG_ORIGDIRINDEXES (integer)
RPMTAG_ORIGDIRNAMES (integer)
RPMTAG_ORIGFILENAMES (integer)
RPMTAG_OS (integer)
RPMTAG_P (integer)
RPMTAG_PACKAGER (integer)
RPMTAG_PATCH (integer)
RPMTAG_PATCHESFLAGS (integer)
RPMTAG_PATCHESNAME (integer)
RPMTAG_PATCHESVERSION (integer)
RPMTAG_PAYLOADCOMPRESSOR (integer)
RPMTAG_PAYLOADDIGEST (integer)
RPMTAG_PAYLOADDIGESTALGO (integer)
RPMTAG_PAYLOADFLAGS (integer)
RPMTAG_PAYLOADFORMAT (integer)
RPMTAG_PKGID (integer)
RPMTAG_PLATFORM (integer)
RPMTAG_POLICIES (integer)
RPMTAG_POLICYFLAGS (integer)
RPMTAG_POLICYNAMES (integer)
RPMTAG_POLICYTYPES (integer)
RPMTAG_POLICYTYPESINDEXES (integer)
RPMTAG_POSTIN (integer)
RPMTAG_POSTINFLAGS (integer)
RPMTAG_POSTINPROG (integer)
RPMTAG_POSTTRANS (integer)
RPMTAG_POSTTRANSFLAGS (integer)
RPMTAG_POSTTRANSPROG (integer)
RPMTAG_POSTUN (integer)
RPMTAG_POSTUNFLAGS (integer)
RPMTAG_POSTUNPROG (integer)
RPMTAG_PREFIXES (integer)
RPMTAG_PREIN (integer)
RPMTAG_PREINFLAGS (integer)
RPMTAG_PREINPROG (integer)
RPMTAG_PRETRANS (integer)
RPMTAG_PRETRANSFLAGS (integer)
RPMTAG_PRETRANSPROG (integer)
RPMTAG_PREUN (integer)
RPMTAG_PREUNFLAGS (integer)
RPMTAG_PREUNPROG (integer)
RPMTAG_PROVIDEFLAGS (integer)
RPMTAG_PROVIDENAME (integer)
Provided dependencies, with database index.
RPMTAG_PROVIDENEVRS (integer)
RPMTAG_PROVIDES (integer)
RPMTAG_PROVIDEVERSION (integer)
RPMTAG_PUBKEYS (integer)
RPMTAG_R (integer)
RPMTAG_RECOMMENDFLAGS (integer)
RPMTAG_RECOMMENDNAME (integer)
Recommended weak dependencies, with database index, requires librpm >= 4.13.
RPMTAG_RECOMMENDNEVRS (integer)
RPMTAG_RECOMMENDS (integer)
RPMTAG_RECOMMENDVERSION (integer)
RPMTAG_RECONTEXTS (integer)
RPMTAG_RELEASE (integer)
RPMTAG_REMOVETID (integer)
RPMTAG_REQUIREFLAGS (integer)
RPMTAG_REQUIRENAME (integer)
Required dependencies, with database index.
RPMTAG_REQUIRENEVRS (integer)
RPMTAG_REQUIRES (integer)
RPMTAG_REQUIREVERSION (integer)
RPMTAG_RPMVERSION (integer)
RPMTAG_RSAHEADER (integer)
RPMTAG_SHA1HEADER (integer)
SHA1 signature, with database index.
RPMTAG_SHA256HEADER (integer)
RPMTAG_SIGGPG (integer)
RPMTAG_SIGMD5 (integer)
MD5 signature, with database index.
RPMTAG_SIGPGP (integer)
RPMTAG_SIGSIZE (integer)
RPMTAG_SIZE (integer)
RPMTAG_SOURCE (integer)
RPMTAG_SOURCEPACKAGE (integer)
RPMTAG_SOURCEPKGID (integer)
RPMTAG_SOURCERPM (integer)
RPMTAG_SUGGESTFLAGS (integer)
RPMTAG_SUGGESTNAME (integer)
Suggested weak dependencies, with database index, requires librpm >= 4.13.
RPMTAG_SUGGESTNEVRS (integer)
RPMTAG_SUGGESTS (integer)
RPMTAG_SUGGESTVERSION (integer)
RPMTAG_SUMMARY (integer)
RPMTAG_SUPPLEMENTFLAGS (integer)
RPMTAG_SUPPLEMENTNAME (integer)
Weak dependencies, with database index, requires librpm >= 4.13.
RPMTAG_SUPPLEMENTNEVRS (integer)
RPMTAG_SUPPLEMENTS (integer)
RPMTAG_SUPPLEMENTVERSION (integer)
RPMTAG_TRANSFILETRIGGERCONDS (integer)
RPMTAG_TRANSFILETRIGGERFLAGS (integer)
RPMTAG_TRANSFILETRIGGERINDEX (integer)
RPMTAG_TRANSFILETRIGGERNAME (integer)
Transaction file trigger name, with database index, requires librpm >= 4.13.
RPMTAG_TRANSFILETRIGGERPRIORITIES (integer)
RPMTAG_TRANSFILETRIGGERSCRIPTFLAGS (integer)
RPMTAG_TRANSFILETRIGGERSCRIPTPROG (integer)
RPMTAG_TRANSFILETRIGGERSCRIPTS (integer)
RPMTAG_TRANSFILETRIGGERTYPE (integer)
RPMTAG_TRANSFILETRIGGERVERSION (integer)
RPMTAG_TRIGGERCONDS (integer)
RPMTAG_TRIGGERFLAGS (integer)
RPMTAG_TRIGGERINDEX (integer)
RPMTAG_TRIGGERNAME (integer)
Trigger name, with database index.
RPMTAG_TRIGGERSCRIPTFLAGS (integer)
RPMTAG_TRIGGERSCRIPTPROG (integer)
RPMTAG_TRIGGERSCRIPTS (integer)
RPMTAG_TRIGGERTYPE (integer)
RPMTAG_TRIGGERVERSION (integer)
RPMTAG_URL (integer)
RPMTAG_V (integer)
RPMTAG_VCS (integer)
RPMTAG_VENDOR (integer)
RPMTAG_VERBOSE (integer)
RPMTAG_VERIFYSCRIPT (integer)
RPMTAG_VERIFYSCRIPTFLAGS (integer)
RPMTAG_VERIFYSCRIPTPROG (integer)
RPMTAG_VERSION (integer)
RPMTAG_XPM (integer)