]> 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 cbf79f8609be84b6d72e204e983095696f1ce258..2e4e8281a978d92bb13c48fe2cdebaffabf2fad9 100644 (file)
@@ -48,6 +48,7 @@ class pkgAcqMethod
       bool IndexFile;
       bool FailIgnore;
       HashStringList ExpectedHashes;
+      unsigned long long ExpectedSize;
    };
    
    struct FetchResult
@@ -105,7 +106,7 @@ class pkgAcqMethod
    
    pkgAcqMethod(const char *Ver,unsigned long Flags = 0);
    virtual ~pkgAcqMethod() {};
-
+   void DropPrivsOrDie();
    private:
    APT_HIDDEN void Dequeue();
 };