X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e1430400bf012ab7e29b00c78796a14ce9f97107..e2ca62725f8c511e53cf6b3abeede435a59eae3f:/apt-pkg/indexrecords.h?ds=sidebyside diff --git a/apt-pkg/indexrecords.h b/apt-pkg/indexrecords.h index 2e3103b70..5b532c1a5 100644 --- a/apt-pkg/indexrecords.h +++ b/apt-pkg/indexrecords.h @@ -12,6 +12,7 @@ #include #include +#include class indexRecords { @@ -25,6 +26,8 @@ class indexRecords string Dist; string Suite; string ExpectedDist; + time_t ValidUntil; + std::map 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(){};