apt @VERSION@
Public Attributes

pkgCache::Provides Struct Reference

handles virtual packages More...

#include <pkgcache.h>

List of all members.

Public Attributes

map_ptrloc ParentPkg
 index of the package providing this
map_ptrloc Version
 index of the version this provide line applies to
map_ptrloc ProvideVersion
 version in the provides line (if any)
map_ptrloc NextProvides
 next provides (based of package)
map_ptrloc NextPkgProv
 next provides (based of version)

Detailed Description

handles virtual packages

When a Provides: line is encountered a new provides record is added associating the package with a virtual package name. The provides structures are linked off the package structures. This simplifies the analysis of dependencies and other aspects A provides refers to a specific version of a specific package, not all versions need to provide that provides.


Member Data Documentation

map_ptrloc ProvideVersion

version in the provides line (if any)

This version allows dependencies to depend on specific versions of a Provides, as well as allowing Provides to override existing packages. This is experimental. Note that Debian doesn't allow versioned provides


The documentation for this struct was generated from the following file: