]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.h
support a ":" in the dpkg error output
[apt.git] / apt-pkg / deb / dpkgpm.h
index ebc7e32bf9fc3c3ddf204b66708363fc152a308b..51668bdf79108606d8832a7f6ba6a04bf72ed92b 100644 (file)
@@ -31,6 +31,7 @@ class pkgDPkgPM : public pkgPackageManager
    FILE *term_out;
    
    protected:
+   int pkgFailures;
 
    // progress reporting
    struct DpkgState 
@@ -47,6 +48,8 @@ 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<string,unsigned int> PackageOpsDone;
+   // map the dpkg "processing" info to human readable names
+   map<string,string> PackageProcessingOps;
    // progress reporting
    unsigned int PackagesDone;
    unsigned int PackagesTotal;
@@ -67,6 +70,9 @@ class pkgDPkgPM : public pkgPackageManager
    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();