]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.h
pkgCacheGenerator: Allow passing down an already created cache
[apt.git] / apt-pkg / pkgcachegen.h
index 21a4a6a096dfa0b2bfb408bec9bd605cb3d8447e..ac5947c6a5257f6fc2a61abdaf7e7b56fe523a9e 100644 (file)
@@ -113,6 +113,8 @@ class APT_HIDDEN pkgCacheGenerator                                  /*{{{*/
 
    APT_PUBLIC static bool MakeStatusCache(pkgSourceList &List,OpProgress *Progress,
                        MMap **OutMap = 0,bool AllowMem = false);
+   APT_HIDDEN static bool MakeStatusCache(pkgSourceList &List,OpProgress *Progress,
+                       MMap **OutMap,pkgCache **OutCache, bool AllowMem = false);
    APT_PUBLIC static bool MakeOnlyStatusCache(OpProgress *Progress,DynamicMMap **OutMap);
 
    void ReMap(void const * const oldMap, void const * const newMap);