]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.h
make compressed-indexes test pass again
[apt.git] / apt-pkg / indexrecords.h
index 14b03c4d5b2fa5814e6f36f39f4966ec8ec05094..bb0fd556491476053e5079325b7833436a722cd2 100644 (file)
@@ -26,12 +26,15 @@ class indexRecords
    public:
    struct checkSum;
    std::string ErrorText;
+   // dpointer (for later9
+   void * d;
    
    protected:
    std::string Dist;
    std::string Suite;
    std::string ExpectedDist;
    time_t ValidUntil;
+   bool SupportsAcquireByHash;
 
    std::map<std::string,checkSum *> Entries;
 
@@ -49,6 +52,7 @@ class indexRecords
    virtual bool Load(std::string Filename);
    std::string GetDist() const;
    std::string GetSuite() const;
+   bool GetSupportsAcquireByHash() const;
    time_t GetValidUntil() const;
    virtual bool CheckDist(const std::string MaybeDist) const;
    std::string GetExpectedDist() const;