~ubuntu-core-dev/apt/ubuntu

« back to all changes in this revision

Viewing changes to apt-pkg/pkgcache.h

* merged the apt-breaks-iwj branch
* pulled in the other remaining ubuntu changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
   class Namespace;
64
64
   
65
65
   // These are all the constants used in the cache structures
 
66
 
 
67
   // WARNING - if you change these lists you must also edit
 
68
   // the stringification in pkgcache.cc and also consider whether
 
69
   // the cache file will become incompatible.
66
70
   struct Dep
67
71
   {
68
72
      enum DepType {Depends=1,PreDepends=2,Suggests=3,Recommends=4,
69
 
         Conflicts=5,Replaces=6,Obsoletes=7};
 
73
         Conflicts=5,Replaces=6,Obsoletes=7,DpkgBreaks=8};
70
74
      enum DepCompareOp {Or=0x10,NoOp=0,LessEq=0x1,GreaterEq=0x2,Less=0x3,
71
75
         Greater=0x4,Equals=0x5,NotEquals=0x6};
72
76
   };