summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-06-07 09:52:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-06-07 09:52:46 +0200
commit89b70b5a5c80b15d928b6593604bacc02a1b9a51 (patch)
treeabdfe8b4ac425748ac44cda8e675ca5496042082 /apt-pkg/cachefile.h
parentd4c5f11f8ef619ec56ae1e532416bb3817442b1c (diff)
* apt-pkg/cachefile, cmdline/apt-get.cc:
- move the code that does the work from apt-get.cc to pkgCacheFile::ListUpdate()
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 a128c29ab..366e3576f 100644
--- a/apt-pkg/cachefile.h
+++ b/apt-pkg/cachefile.h
@@ -22,6 +22,8 @@
#endif
#include <apt-pkg/depcache.h>
+#include <apt-pkg/acquire.h>
+#include <apt-pkg/sourcelist.h>
class pkgPolicy;
class pkgCacheFile
@@ -48,6 +50,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();