summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-06-29 19:38:52 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-06-29 19:38:52 +0200
commit00b6a181fe1efb86ba5eb98a369da8f9d2ab063f (patch)
treeda4683407e967945d033cfdeec5b4e726a6724d4 /apt-pkg/pkgcache.h
parent8f8ed8f4e50fd98aa43ee69971cac8bda55760f1 (diff)
* apt-pkg/pkgcache.h:
- readd All{Foreign,Allowed} as suggested by Julian to remain strictly API compatible
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r--apt-pkg/pkgcache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index 280f37bca..9a9f79420 100644
--- a/apt-pkg/pkgcache.h
+++ b/apt-pkg/pkgcache.h
@@ -506,7 +506,9 @@ struct pkgCache::Version
All = (1<<0), /*!< will cause that Ver.Arch() will report "all" */
Foreign = (1<<1), /*!< can satisfy dependencies in another architecture */
Same = (1<<2), /*!< can be co-installed with itself from other architectures */
- Allowed = (1<<3) /*!< other packages are allowed to depend on thispkg:any */ };
+ Allowed = (1<<3), /*!< other packages are allowed to depend on thispkg:any */
+ AllForeign = All | Foreign,
+ AllAllowed = All | Allowed };
/** \brief stores the MultiArch capabilities of this version
Flags used are defined in pkgCache::Version::VerMultiArch