apt @VERSION@
Public Attributes

pkgCache::Dependency Struct Reference

information for a single dependency record More...

#include <pkgcache.h>

List of all members.

Public Attributes

map_ptrloc Version
 string of the version the dependency is applied against
map_ptrloc Package
 index of the package this depends applies to
map_ptrloc NextDepends
 next dependency of this version
map_ptrloc NextRevDepends
 next reverse dependency of this package
map_ptrloc ParentVer
 version of the package which has the reverse depends
map_ptrloc ID
 unique sequel ID
unsigned char Type
 Dependency type - Depends, Recommends, Conflicts, etc.
unsigned char CompareOp
 comparison operator specified on the depends line

Detailed Description

information for a single dependency record

The records are split up like this to ease processing by the client. The base of the linked list is pkgCache::Version::DependsList. All forms of dependencies are recorded here including Depends, Recommends, Suggests, Enhances, Conflicts, Replaces and Breaks.


Member Data Documentation

unsigned char CompareOp

comparison operator specified on the depends line

If the high bit is set then it is a logical OR with the previous record.

map_ptrloc Package

index of the package this depends applies to

The generator will - if the package does not already exist - create a blank (no version records) package.


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