]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.h
make http size check work
[apt.git] / apt-pkg / acquire-method.h
index 8a17a5fd52fb832974ebec17210e5f28362f6229..2e4e8281a978d92bb13c48fe2cdebaffabf2fad9 100644 (file)
@@ -47,6 +47,8 @@ class pkgAcqMethod
       time_t LastModified;
       bool IndexFile;
       bool FailIgnore;
+      HashStringList ExpectedHashes;
+      unsigned long long ExpectedSize;
    };
    
    struct FetchResult
@@ -104,7 +106,7 @@ class pkgAcqMethod
    
    pkgAcqMethod(const char *Ver,unsigned long Flags = 0);
    virtual ~pkgAcqMethod() {};
-
+   void DropPrivsOrDie();
    private:
    APT_HIDDEN void Dequeue();
 };