projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
French translation update
[apt.git]
/
apt-pkg
/
indexrecords.h
diff --git
a/apt-pkg/indexrecords.h
b/apt-pkg/indexrecords.h
index 277280620909a8ef521c3399f50e64b4e302c008..468d2bd0fae6cea66b5030543b3d67452bf05bdc 100644
(file)
--- a/
apt-pkg/indexrecords.h
+++ b/
apt-pkg/indexrecords.h
@@
-5,13
+5,13
@@
#ifndef PKGLIB_INDEXRECORDS_H
#define PKGLIB_INDEXRECORDS_H
#ifndef PKGLIB_INDEXRECORDS_H
#define PKGLIB_INDEXRECORDS_H
-#ifdef __GNUG__
-#pragma interface "apt-pkg/indexrecords.h"
-#endif
+
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/fileutl.h>
+#include <apt-pkg/hashes.h>
#include <map>
#include <map>
+#include <vector>
class indexRecords
{
class indexRecords
{
@@
-34,7
+34,8
@@
class indexRecords
// Lookup function
virtual const checkSum *Lookup(const string MetaKey);
// Lookup function
virtual const checkSum *Lookup(const string MetaKey);
-
+ std::vector<std::string> MetaKeys();
+
virtual bool Load(string Filename);
string GetDist() const;
virtual bool CheckDist(const string MaybeDist) const;
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;
struct indexRecords::checkSum
{
string MetaKeyFilename;
-
string MD5
Hash;
+
HashString
Hash;
size_t Size;
};
size_t Size;
};