diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-29 16:44:46 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-06-29 16:44:46 +0200 |
commit | afe4d2a556535dbc9475ac1665c380a235dd28de (patch) | |
tree | 09309acf8e9b9e461d675a1d1377ba0b0b19aa6f /apt-pkg/cacheiterators.h | |
parent | f8ae7e8b3c5585888cbc0516b35131acec14ff05 (diff) | |
parent | efc487fbd46905f5f3efc4f31d7df15625bcbecf (diff) |
[ABI break] Allow pinning by codename (closes: #97564)
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 08eafca0f..63f9de8fc 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -333,6 +333,7 @@ class pkgCache::PkgFileIterator inline const char *Component() const {return File->Component == 0?0:Owner->StrP + File->Component;}; inline const char *Version() const {return File->Version == 0?0:Owner->StrP + File->Version;}; inline const char *Origin() const {return File->Origin == 0?0:Owner->StrP + File->Origin;}; + inline const char *Codename() const {return File->Codename ==0?0:Owner->StrP + File->Codename;}; inline const char *Label() const {return File->Label == 0?0:Owner->StrP + File->Label;}; inline const char *Site() const {return File->Site == 0?0:Owner->StrP + File->Site;}; inline const char *Architecture() const {return File->Architecture == 0?0:Owner->StrP + File->Architecture;}; |