X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/89b52526ec245cacdbac1b4aee6c877dc9a410e4..8d3489abd90a64715b92976a7c60b42a386a4c5c:/apt-pkg/acquire-method.h?ds=sidebyside diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index 89eb2e77f..03851e823 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -37,12 +37,14 @@ class pkgAcqMethod string DestFile; time_t LastModified; bool IndexFile; + bool FailIgnore; }; struct FetchResult { string MD5Sum; string SHA1Sum; + string SHA256Sum; vector GPGVOutput; time_t LastModified; bool IMSHit; @@ -85,6 +87,8 @@ class pkgAcqMethod void Log(const char *Format,...); void Status(const char *Format,...); + void Redirect(const string &NewURI); + int Run(bool Single = false); inline void SetFailReason(string Msg) {FailReason = Msg;}; inline void SetIP(string aIP) {IP = aIP;};