X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1350057372b095f718c0073a704f2c1960c04c81..bbde96a611f39f5040b332dae1515207db341743:/apt-pkg/indexrecords.h?ds=sidebyside diff --git a/apt-pkg/indexrecords.h b/apt-pkg/indexrecords.h index 73c8b4c02..500cf23c4 100644 --- a/apt-pkg/indexrecords.h +++ b/apt-pkg/indexrecords.h @@ -5,13 +5,14 @@ #ifndef PKGLIB_INDEXRECORDS_H #define PKGLIB_INDEXRECORDS_H -#ifdef __GNUG__ -#endif + #include #include +#include #include #include +#include class indexRecords { @@ -25,6 +26,8 @@ class indexRecords string Dist; string Suite; string ExpectedDist; + time_t ValidUntil; + std::map Entries; public: @@ -38,6 +41,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(){}; @@ -46,7 +50,7 @@ class indexRecords struct indexRecords::checkSum { string MetaKeyFilename; - string MD5Hash; + HashString Hash; size_t Size; };