X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/7db98ffceda347f0bc457c6bdc4ff33d60e26b18..f6c0d4ae82e5300cc39d4d95837ab939f15fec9b:/apt-pkg/indexrecords.h diff --git a/apt-pkg/indexrecords.h b/apt-pkg/indexrecords.h index 277280620..468d2bd0f 100644 --- a/apt-pkg/indexrecords.h +++ b/apt-pkg/indexrecords.h @@ -5,13 +5,13 @@ #ifndef PKGLIB_INDEXRECORDS_H #define PKGLIB_INDEXRECORDS_H -#ifdef __GNUG__ -#pragma interface "apt-pkg/indexrecords.h" -#endif + #include #include +#include #include +#include class indexRecords { @@ -34,7 +34,8 @@ class indexRecords // Lookup function virtual const checkSum *Lookup(const string MetaKey); - + std::vector MetaKeys(); + virtual bool Load(string Filename); string GetDist() const; virtual bool CheckDist(const string MaybeDist) const; @@ -45,7 +46,7 @@ class indexRecords struct indexRecords::checkSum { string MetaKeyFilename; - string MD5Hash; + HashString Hash; size_t Size; };