diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-16 16:25:33 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-16 16:50:01 +0100 |
commit | 7037aab52fc935298b033a4c7ba7ccb5b697622e (patch) | |
tree | bc5156df4045c0a094306918e0263161f082b089 /apt-pkg/sourcelist.h | |
parent | db6594dfc508378b6d658aff2761da5406404238 (diff) |
* refactor to have a new virtual ParseStanza
Have a similar ParseStanza() to the current ParseLine().
Rename the Architectures options in deb822 to make it more
user friendly
Diffstat (limited to 'apt-pkg/sourcelist.h')
-rw-r--r-- | apt-pkg/sourcelist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index d83c76d6a..0ccb4aa00 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -31,6 +31,7 @@ #include <vector> #include <map> #include <apt-pkg/pkgcache.h> +#include <apt-pkg/tagfile.h> #ifndef APT_8_CLEANER_HEADERS #include <apt-pkg/metaindex.h> @@ -60,6 +61,10 @@ class pkgSourceList const char *Label; bool FixupURI(std::string &URI) const; + virtual bool ParseStanza(std::vector<metaIndex *> &List, + pkgTagSection &Tags, + int stanza_n, + FileFd &Fd); virtual bool ParseLine(std::vector<metaIndex *> &List, const char *Buffer, unsigned long const &CurLine,std::string const &File) const; |