]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.h
apt-pkg/acquire-item.{cc,h}: mark InRelease with Fail-Ignore to ensure the mirror...
[apt.git] / apt-pkg / indexrecords.h
index 2e3103b70f2ab269831ca0a9083513453ab9efb3..5b532c1a528790e57727138490f9b46fa423e16d 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <map>
 #include <vector>
+#include <ctime>
 
 class indexRecords
 {
@@ -25,6 +26,8 @@ class indexRecords
    string Dist;
    string Suite;
    string ExpectedDist;
+   time_t ValidUntil;
+
    std::map<string,checkSum *> Entries;
 
    public:
@@ -40,6 +43,7 @@ class indexRecords
 
    virtual bool Load(string Filename);
    string GetDist() const;
+   time_t GetValidUntil() const;
    virtual bool CheckDist(const string MaybeDist) const;
    string GetExpectedDist() const;
    virtual ~indexRecords(){};