diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:13 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:13 +0000 |
commit | d556d1a1cc89e0f99d1b76fd6da72fd0174f5862 (patch) | |
tree | 6b67b2f7bb477d9e6b000059113101fd8695dcef /apt-pkg/cacheiterators.h | |
parent | 58d63ae695eb9f979e65fa8c01fa2c34d61e6527 (diff) |
Purge support
Author: jgg
Date: 1999-07-10 04:58:42 GMT
Purge support
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 16088765d..800066be9 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: cacheiterators.h,v 1.13 1999/02/23 06:46:24 jgg Exp $ +// $Id: cacheiterators.h,v 1.14 1999/07/10 04:58:42 jgg Exp $ /* ###################################################################### Cache Iterators - Iterators for navigating the cache structure @@ -66,6 +66,7 @@ class pkgCache::PkgIterator inline const char *Name() const {return Pkg->Name == 0?0:Owner->StrP + Pkg->Name;}; inline const char *Section() const {return Pkg->Section == 0?0:Owner->StrP + Pkg->Section;}; inline const char *TargetDist() const {return Pkg->TargetDist == 0?0:Owner->StrP + Pkg->TargetDist;}; + inline bool Purge() const {return Pkg->CurrentState == pkgCache::State::Purge;}; inline VerIterator VersionList() const; inline VerIterator TargetVer() const; inline VerIterator CurrentVer() const; |