X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/859110cdec2f211beb45305134d095fd8926d552..4c9234d668bc1a250fd1af4c5d90497a08be67fd:/apt-inst/contrib/arfile.h diff --git a/apt-inst/contrib/arfile.h b/apt-inst/contrib/arfile.h index 96e18bc60..0f62a34a0 100644 --- a/apt-inst/contrib/arfile.h +++ b/apt-inst/contrib/arfile.h @@ -17,7 +17,11 @@ #include +#ifndef APT_8_CLEANER_HEADERS #include +#endif + +class FileFd; class ARArchive { @@ -39,6 +43,7 @@ class ARArchive // Locate a member by name const Member *FindMember(const char *Name) const; + inline Member *Members() { return List; } ARArchive(FileFd &File); ~ARArchive(); @@ -48,12 +53,12 @@ class ARArchive struct ARArchive::Member { // Fields from the header - string Name; + std::string Name; unsigned long MTime; unsigned long UID; unsigned long GID; unsigned long Mode; - unsigned long Size; + unsigned long long Size; // Location of the data. unsigned long Start;