]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.h
oops
[apt.git] / apt-pkg / pkgcache.h
index 037f8f05553c638b580a0822f5cee82051e806db..70d08826e63b4c37b01d20789560148b01cb8a02 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgcache.h,v 1.10 1998/11/12 03:28:29 jgg Exp $
+// $Id: pkgcache.h,v 1.12 1998/12/08 01:34:13 jgg Exp $
 /* ######################################################################
    
    Cache - Structure definitions for the cache file
@@ -109,6 +109,7 @@ class pkgCache
 
    virtual bool ReMap();
    inline bool Sync() {return Map.Sync();};
+   inline MMap &GetMap() {return Map;};
    
    // String hashing function (512 range)
    inline unsigned long Hash(string S) const {return sHash(S);};
@@ -163,7 +164,7 @@ struct pkgCache::Header
    DynamicMMap::Pool Pools[7];
    
    // Rapid package name lookup
-   __apt_ptrloc HashTable[512];
+   __apt_ptrloc HashTable[2048];
 
    bool CheckSizes(Header &Against) const;
    Header();