]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.h
add our own equals method as assert doesn't really show the offending
[apt.git] / apt-pkg / acquire-method.h
index 0fd846f54d16307efea2fafe600dd30321fc55df..fab77e66469dd8139b19041c7a2fd341f44b7521 100644 (file)
@@ -43,6 +43,7 @@ class pkgAcqMethod
    {
       string MD5Sum;
       string SHA1Sum;
+      string SHA256Sum;
       vector<string> GPGVOutput;
       time_t LastModified;
       bool IMSHit;
@@ -83,6 +84,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 SetFailExtraMsg(string Msg) {FailExtra = Msg;};