summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-01-04 21:33:09 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2008-01-04 21:33:09 +0100
commit893d3e85b98124fc28002be5584b685324646037 (patch)
tree4539342955019ce483a9558be33dcb14fffa5e24 /apt-pkg/cachefile.h
parent110277098f846c98cbb1f155fe7d53ecca64cc1a (diff)
parentf8477782df203e1998a8704e71a1a3cc699e9e3a (diff)
* 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h
index d23841e5e..02c6188a7 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();