X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0118833a3b3e65ad7296863aa7d49574eb615f83..bebdca4bf63ae661c60bc1e0f4e03e6bbb7a7cc5:/apt-pkg/sourcelist.h diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 0ed77b301..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.6 1998/10/15 07:00:02 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; @@ -48,7 +48,8 @@ class pkgSourceList string PackagesURI() const; string PackagesInfo() const; string ReleaseURI() const; - string ReleaseInfo() 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;