X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6fc33863f31051a5fc2726a236ce8b64d33bc964..813c8eea956b2dee1e7a4a8018a1e94880a2cfbf:/apt-pkg/sourcelist.h diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 78d8a22a9..37accc5ab 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: sourcelist.h,v 1.5 1998/07/19 21:24:15 jgg Exp $ +// $Id: sourcelist.h,v 1.8 1999/04/07 05:30:18 jgg Exp $ /* ###################################################################### SourceList - Manage a list of sources @@ -37,7 +37,7 @@ class pkgSourceList item */ struct Item { - enum {Deb} Type; + enum {Deb, DebSrc} Type; string URI; string Dist; @@ -47,6 +47,9 @@ class pkgSourceList bool SetURI(string S); string PackagesURI() const; string PackagesInfo() const; + string ReleaseURI() const; + string ReleaseInfo() const; + string SourceInfo(string Pkg,string Ver,string Comp) const; string SiteOnly(string URI) const; string ArchiveInfo(pkgCache::VerIterator Ver) const; string ArchiveURI(string File) const; @@ -67,7 +70,7 @@ class pkgSourceList inline const_iterator end() const {return List.end();}; inline unsigned int size() const {return List.size();}; inline bool empty() const {return List.empty();}; - + pkgSourceList(); pkgSourceList(string File); };