diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-04 21:33:09 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-04 21:33:09 +0100 |
commit | 893d3e85b98124fc28002be5584b685324646037 (patch) | |
tree | 4539342955019ce483a9558be33dcb14fffa5e24 /apt-pkg/cachefile.h | |
parent | 110277098f846c98cbb1f155fe7d53ecca64cc1a (diff) | |
parent | f8477782df203e1998a8704e71a1a3cc699e9e3a (diff) | |
download | apt-893d3e85b98124fc28002be5584b685324646037.tar.gz |
* merged the apt--DoListUpdate branch, this provides a common interface
for apt-get update like operations for the frontends and also provides
hooks to run stuff in APT::Update::{Pre,Post}-Invoke
Diffstat (limited to 'apt-pkg/cachefile.h')
-rw-r--r-- | apt-pkg/cachefile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h index d23841e5..02c6188a 100644 --- a/apt-pkg/cachefile.h +++ b/apt-pkg/cachefile.h @@ -19,6 +19,8 @@ #include <apt-pkg/depcache.h> +#include <apt-pkg/acquire.h> +#include <apt-pkg/sourcelist.h> class pkgPolicy; class pkgCacheFile @@ -45,6 +47,7 @@ class pkgCacheFile bool BuildCaches(OpProgress &Progress,bool WithLock = true); bool Open(OpProgress &Progress,bool WithLock = true); + bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List); void Close(); pkgCacheFile(); |