]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.h
* merged from the apt--install-recommends branch
[apt.git] / apt-pkg / pkgcache.h
index c7a3172cc0986d04f8476787332115072c4f0ac7..970759492f70674cc09425fbe45d2dbf05813262 100644 (file)
@@ -66,10 +66,14 @@ class pkgCache
    class Namespace;
    
    // These are all the constants used in the cache structures
+
+   // WARNING - if you change these lists you must also edit
+   // the stringification in pkgcache.cc and also consider whether
+   // the cache file will become incompatible.
    struct Dep
    {
       enum DepType {Depends=1,PreDepends=2,Suggests=3,Recommends=4,
-        Conflicts=5,Replaces=6,Obsoletes=7};
+        Conflicts=5,Replaces=6,Obsoletes=7,DpkgBreaks=8};
       enum DepCompareOp {Or=0x10,NoOp=0,LessEq=0x1,GreaterEq=0x2,Less=0x3,
         Greater=0x4,Equals=0x5,NotEquals=0x6};
    };