X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/9152d475de2c65d144fc3008043244d4622e136d..73e0ee1e7f97571d7be3277e3c25c2f41b2bb946:/apt-pkg/deb/dpkgpm.h diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index debde36a3..62d3d893d 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -23,6 +23,8 @@ class pkgDPkgPM : public pkgPackageManager { private: + bool stdin_is_dev_null; + // the buffer we use for the dpkg status-fd reading char dpkgbuf[1024]; int dpkgbuf_pos; @@ -46,6 +48,12 @@ class pkgDPkgPM : public pkgPackageManager // the int is the state that is already done (e.g. a package that is // going to be install is already in state "half-installed") map PackageOpsDone; + + +#if 1 // FIXME: BINARY COMPATIBILITY ONLY, remove on next ABI break + map PackageProcessingOps; +#endif + // progress reporting unsigned int PackagesDone; unsigned int PackagesTotal; @@ -63,13 +71,16 @@ class pkgDPkgPM : public pkgPackageManager vector List; // Helpers - bool RunScripts(const char *Cnf); bool RunScriptsWithPkgs(const char *Cnf); bool SendV2Pkgs(FILE *F); // apport integration void WriteApportReport(const char *pkgpath, const char *errormsg); + // dpkg log + bool OpenLog(); + bool CloseLog(); + // input processing void DoStdin(int master); void DoTerminalPty(int master);