information for a single version of a package More...
#include <pkgcache.h>
Public Types | |
enum | VerMultiArch { None = 0, All = (1<<0), Foreign = (1<<1), Same = (1<<2), Allowed = (1<<3), AllForeign = All | Foreign, AllAllowed = All | Allowed } |
Multi-Arch capabilities of a package version. More... | |
Public Attributes | |
map_ptrloc | DependsList |
base of the dependency list More... | |
map_ptrloc | DescriptionList |
next description in the linked list More... | |
map_ptrloc | FileList |
references all the PackageFile's that this version came from More... | |
unsigned short | Hash |
characteristic value representing this version More... | |
unsigned int | ID |
unique sequel ID More... | |
unsigned long long | InstalledSize |
uncompressed size for this version More... | |
unsigned char | MultiArch |
stores the MultiArch capabilities of this version More... | |
map_ptrloc | NextVer |
next (lower or equal) version in the linked list More... | |
map_ptrloc | ParentPkg |
links to the owning package More... | |
unsigned char | Priority |
parsed priority value More... | |
map_ptrloc | ProvidesList |
list of pkgCache::Provides More... | |
map_ptrloc | Section |
section this version is filled in More... | |
unsigned long long | Size |
archive size for this version More... | |
map_ptrloc | VerStr |
complete version string More... | |
information for a single version of a package
The version list is always sorted from highest version to lowest version by the generator. Equal version numbers are either merged or handled as separate versions based on the Hash value.
Multi-Arch capabilities of a package version.
map_ptrloc pkgCache::Version::DependsList |
base of the dependency list
map_ptrloc pkgCache::Version::DescriptionList |
next description in the linked list
map_ptrloc pkgCache::Version::FileList |
references all the PackageFile's that this version came from
FileList can be used to determine what distribution(s) the Version applies to. If FileList is 0 then this is a blank version. The structure should also have a 0 in all other fields excluding pkgCache::Version::VerStr and Possibly pkgCache::Version::NextVer.
unsigned short pkgCache::Version::Hash |
characteristic value representing this version
No two packages in existence should have the same VerStr and Hash with different contents.
Referenced by pkgCache::VerIterator::SimilarVer().
unsigned int pkgCache::Version::ID |
unique sequel ID
unsigned long long pkgCache::Version::InstalledSize |
uncompressed size for this version
unsigned char pkgCache::Version::MultiArch |
stores the MultiArch capabilities of this version
Flags used are defined in pkgCache::Version::VerMultiArch
Referenced by pkgCache::VerIterator::Arch().
map_ptrloc pkgCache::Version::NextVer |
next (lower or equal) version in the linked list
Referenced by pkgCache::VerIterator::operator++().
map_ptrloc pkgCache::Version::ParentPkg |
links to the owning package
This allows reverse dependencies to determine the package
Referenced by pkgCache::VerIterator::Arch(), pkgCache::PrvIterator::OwnerPkg(), pkgCache::VerIterator::ParentPkg(), and pkgCache::DepIterator::ParentPkg().
unsigned char pkgCache::Version::Priority |
parsed priority value
Referenced by pkgCache::VerIterator::PriorityType().
map_ptrloc pkgCache::Version::ProvidesList |
list of pkgCache::Provides
map_ptrloc pkgCache::Version::Section |
section this version is filled in
Referenced by pkgCache::VerIterator::Section().
unsigned long long pkgCache::Version::Size |
archive size for this version
For Debian this is the size of the .deb file.
map_ptrloc pkgCache::Version::VerStr |
complete version string
Referenced by pkgCache::VerIterator::VerStr().