]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
add options to disable specific checksums for Indexes
[apt.git] / apt-pkg / sourcelist.h
index b9e4389ed1ee89e087b3de1347f7bf6f68a6c1ee..e15314a5e796fbd87a7eb1ded8101e6790bbdc8e 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
+#include <map>
 #include <apt-pkg/pkgcache.h>
 #include <apt-pkg/metaindex.h>
 
 #include <apt-pkg/pkgcache.h>
 #include <apt-pkg/metaindex.h>
 
@@ -57,9 +58,10 @@ class pkgSourceList
       bool FixupURI(string &URI) const;
       virtual bool ParseLine(vector<metaIndex *> &List,
                             const char *Buffer,
       bool FixupURI(string &URI) const;
       virtual bool ParseLine(vector<metaIndex *> &List,
                             const char *Buffer,
-                            unsigned long CurLine,string File) const;
-      virtual bool CreateItem(vector<metaIndex *> &List,string URI,
-                             string Dist,string Section) const = 0;
+                            unsigned long const &CurLine,string const &File) const;
+      virtual bool CreateItem(vector<metaIndex *> &List,string const &URI,
+                             string const &Dist,string const &Section,
+                             std::map<string, string> const &Options) const = 0;
       Type();
       virtual ~Type() {};
    };
       Type();
       virtual ~Type() {};
    };