]> git.saurik.com Git - apt.git/blobdiff - apt-inst/deb/debfile.h
DebFile: Refactor ExtractTarMember() out from ExtractArchive()
[apt.git] / apt-inst / deb / debfile.h
index 5e1ea1d2f3e505f90ed801c327ad3a9f9b75413a..ecef71d2187c455afc47aeebe3f4c1664d79a514 100644 (file)
 #include <apt-pkg/pkgcache.h>
 
 #ifndef APT_8_CLEANER_HEADERS
-#include <apt-pkg/database.h>
+#include <apt-pkg/md5.h>
 #endif
 
 class FileFd;
-class pkgDataBase;
 
 class debDebFile
 {
@@ -46,13 +45,11 @@ class debDebFile
    bool CheckMember(const char *Name);
    
    public:
-
    class ControlExtract;
    class MemControlExtract;
-   
-   bool ExtractControl(pkgDataBase &DB);
+
+   bool ExtractTarMember(pkgDirStream &Stream, const char *Name);
    bool ExtractArchive(pkgDirStream &Stream);
-   pkgCache::VerIterator MergeControl(pkgDataBase &DB);
    const ARArchive::Member *GotoMember(const char *Name);
    inline FileFd &GetFile() {return File;};