]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.h
treat older Release files than we already have as an IMSHit
[apt.git] / apt-pkg / indexrecords.h
index 35e534c12c0da9a6e582eb9d0d8dc8a9ab1e12fb..6ed5f0c2b1dadc7a32135400c6b82c0ad752f09f 100644 (file)
@@ -36,6 +36,7 @@ class indexRecords
    std::string Dist;
    std::string Suite;
    std::string ExpectedDist;
+   time_t Date;
    time_t ValidUntil;
    bool SupportsAcquireByHash;
 
@@ -62,6 +63,7 @@ class indexRecords
    std::string GetSuite() const;
    bool GetSupportsAcquireByHash() const;
    time_t GetValidUntil() const;
+   time_t GetDate() const;
    std::string GetExpectedDist() const;
 
    /** \brief check if source is marked as always trusted */