~jr/ubuntu/oneiric/apt/bzr-get-rename

« back to all changes in this revision

Viewing changes to apt-pkg/cacheiterators.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- mode: cpp; mode: fold -*-
2
2
// Description                                                          /*{{{*/
3
 
// $Id: cacheiterators.h,v 1.17 2001/04/29 05:13:51 jgg Exp $
 
3
// $Id: cacheiterators.h,v 1.18.2.1 2004/05/08 22:44:27 mdz Exp $
4
4
/* ######################################################################
5
5
   
6
6
   Cache Iterators - Iterators for navigating the cache structure
78
78
   inline bool Purge() const {return Pkg->CurrentState == pkgCache::State::Purge ||
79
79
         (Pkg->CurrentVer == 0 && Pkg->CurrentState == pkgCache::State::NotInstalled);};
80
80
   inline VerIterator VersionList() const;
81
 
   inline VerIterator TargetVer() const;
82
81
   inline VerIterator CurrentVer() const;
83
82
   inline DepIterator RevDependsList() const;
84
83
   inline PrvIterator ProvidesList() const;
289
288
   inline const char *Component() const {return File->Component == 0?0:Owner->StrP + File->Component;};
290
289
   inline const char *Version() const {return File->Version == 0?0:Owner->StrP + File->Version;};
291
290
   inline const char *Origin() const {return File->Origin == 0?0:Owner->StrP + File->Origin;};
292
 
   inline const char *Label() const {return File->Origin == 0?0:Owner->StrP + File->Label;};
 
291
   inline const char *Label() const {return File->Label == 0?0:Owner->StrP + File->Label;};
293
292
   inline const char *Site() const {return File->Site == 0?0:Owner->StrP + File->Site;};
294
293
   inline const char *Architecture() const {return File->Architecture == 0?0:Owner->StrP + File->Architecture;};
295
294
   inline const char *IndexType() const {return File->IndexType == 0?0:Owner->StrP + File->IndexType;};