X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b9dadc24b9477b466bc8058c765d76c65ecc7125..2658e1c5487d0bb9c6223cf149a48f47e8d10b4d:/apt-inst/contrib/extracttar.h diff --git a/apt-inst/contrib/extracttar.h b/apt-inst/contrib/extracttar.h index 4b29df314..edd3cec8e 100644 --- a/apt-inst/contrib/extracttar.h +++ b/apt-inst/contrib/extracttar.h @@ -15,6 +15,7 @@ #define PKGLIB_EXTRACTTAR_H #include +#include #include @@ -39,7 +40,7 @@ class ExtractTar GNU_LongLink = 'K',GNU_LongName = 'L'}; FileFd &File; - unsigned long MaxInSize; + unsigned long long MaxInSize; int GZPid; FileFd InFd; bool Eof; @@ -47,13 +48,14 @@ class ExtractTar // Fork and reap gzip bool StartGzip(); - bool Done(bool Force); - + bool Done(); + APT_DEPRECATED_MSG("Parameter Force is ignored, use Done() instead.") bool Done(bool Force); + public: bool Go(pkgDirStream &Stream); - - ExtractTar(FileFd &Fd,unsigned long Max,std::string DecompressionProgram); + + ExtractTar(FileFd &Fd,unsigned long long Max,std::string DecompressionProgram); virtual ~ExtractTar(); };