X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/919b4ed24108491272d463713097e47b4c4d9fc9..d92dd27135d8a26793d3ad28534f2aaeb5fc7680:/apt-pkg/acquire-method.h?ds=sidebyside diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index 89eb2e77f..99a4605b1 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -43,6 +43,7 @@ class pkgAcqMethod { string MD5Sum; string SHA1Sum; + string SHA256Sum; vector GPGVOutput; time_t LastModified; bool IMSHit; @@ -85,6 +86,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;};