apt @VERSION@
|
Classes | |
struct | FetchItem |
struct | FetchResult |
Public Types | |
enum | CnfFlags { SingleInstance = (1<<0), Pipeline = (1<<1), SendConfig = (1<<2), LocalOnly = (1<<3), NeedsCleanup = (1<<4), Removable = (1<<5) } |
Public Member Functions | |
void | Log (const char *Format,...) |
void | Status (const char *Format,...) |
void | Redirect (const string &NewURI) |
int | Run (bool Single=false) |
void | SetFailReason (string Msg) |
void | SetIP (string aIP) |
pkgAcqMethod (const char *Ver, unsigned long Flags=0) | |
Protected Member Functions | |
virtual bool | Configuration (string Message) |
virtual bool | Fetch (FetchItem *) |
void | Fail (bool Transient=false) |
void | Fail (const char *Why, bool Transient=false) |
virtual void | Fail (string Why, bool Transient=false) |
virtual void | URIStart (FetchResult &Res) |
virtual void | URIDone (FetchResult &Res, FetchResult *Alt=0) |
bool | MediaFail (string Required, string Drive) |
virtual void | Exit () |
Protected Attributes | |
vector< string > | Messages |
FetchItem * | Queue |
FetchItem * | QueueBack |
string | FailReason |
string | UsedMirror |
string | IP |