X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/eb6f9bac96a2b1938df598f4fd7c68d22c68a230..41ceaf02483a826d5797cf0bd61bd7b6013733a8:/apt-pkg/deb/dpkgpm.h?ds=sidebyside diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index 9a4478f7c..b7b5a6def 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -48,6 +48,7 @@ class pkgDPkgPM : public pkgPackageManager void handleDisappearAction(string const &pkgname); protected: + int pkgFailures; // progress reporting struct DpkgState @@ -64,6 +65,7 @@ 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; + // progress reporting unsigned int PackagesDone; unsigned int PackagesTotal; @@ -85,6 +87,9 @@ class pkgDPkgPM : public pkgPackageManager bool SendV2Pkgs(FILE *F); void WriteHistoryTag(string const &tag, string value); + // apport integration + void WriteApportReport(const char *pkgpath, const char *errormsg); + // dpkg log bool OpenLog(); bool CloseLog();