// -*- 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
item */
struct Item
{
- enum {Deb} Type;
+ enum {Deb, DebSrc} Type;
string URI;
string Dist;
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;