X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e1430400bf012ab7e29b00c78796a14ce9f97107..0c1a7101fda38ad9e43ef4c6757bfc9c0191a30c:/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(){};