|
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 std::string &NewURI) |
| int | Run (bool Single=false) |
| void | SetFailReason (std::string Msg) |
| void | SetIP (std::string aIP) |
| pkgAcqMethod (const char *Ver, unsigned long Flags=0) | |
Protected Member Functions | |
| virtual bool | Configuration (std::string Message) |
| virtual bool | Fetch (FetchItem *) |
| void | Fail (bool Transient=false) |
| void | Fail (const char *Why, bool Transient=false) |
| virtual void | Fail (std::string Why, bool Transient=false) |
| virtual void | URIStart (FetchResult &Res) |
| virtual void | URIDone (FetchResult &Res, FetchResult *Alt=0) |
| bool | MediaFail (std::string Required, std::string Drive) |
| virtual void | Exit () |
| void | PrintStatus (char const *const header, const char *Format, va_list &args) const |
Protected Attributes | |
| std::vector< std::string > | Messages |
| FetchItem * | Queue |
| FetchItem * | QueueBack |
| std::string | FailReason |
| std::string | UsedMirror |
| std::string | IP |
1.7.6.1