summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.h
diff options
context:
space:
mode:
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 df724ff45..e23f37675 100644
--- a/apt-pkg/cachefile.h
+++ b/apt-pkg/cachefile.h
@@ -32,6 +32,7 @@
class MMap;
class pkgPolicy;
class pkgSourceList;
+class pkgIndexFile;
class OpProgress;
class pkgCacheFile
@@ -74,6 +75,8 @@ class pkgCacheFile
static void RemoveCaches();
void Close();
+ bool AddIndexFile(pkgIndexFile * const File);
+
inline pkgCache* GetPkgCache() { BuildCaches(NULL, false); return Cache; };
inline pkgDepCache* GetDepCache() { BuildDepCache(); return DCache; };
inline pkgPolicy* GetPolicy() { BuildPolicy(); return Policy; };