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