The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
The following list of constants are used to obtain information using
the rpm_get_tag() function. These constants
represent the tag number to be retrieved from the RPM file's header
section. Descriptions are given below as to what data the tag
number constants reference.
The list of files in an RPM package (deprecated format). The
correct way is now to use a combination of 3 tags
(RPMREADER_BASENAMES, RPMREADER_DIRINDEXES, RPMREADER_DIRNAMES)
in what RPM now calls "CompressedFileNames". This tag is still
used in older RPM files that did not use the
"CompressedFileNames" method and is maintained for backward
compatibility.
The list of indices that relate directory names to files in the
RPM package. This tag is used in conjunction with
RPMREADER_BASENAMES and RPMREADER_DIRNAMES to reconstruct
filenames in the RPM package stored with the new
"CompressedFileNames" method in RPM.
The list of the names of files in the RPM package without path
information. This tag is used in conjunction with
RPMREADER_DIRINDEXES and RPMREADER_DIRNAMES to reconstruct
filenames in the RPM package stored with the new
"CompressedFileNames" method in RPM.
The list of directory names used by files in the RPM package.
This tag is used in conjunction with RPMREADER_BASENAMES and
RPMREADER_DIRINDEXES to reconstruct filenames in the RPM
package stored with the new "CompressedFileNames" method in
RPM.