summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-12-18 16:55:06 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-12-18 16:55:06 +0100
commit8cf0b1e1a4eab0f78d86ba3dc4576b35ee46969b (patch)
treeba066a40a78b5b2fbe19ff3e57e65a5ba87b91cc /apt-pkg/deb/dpkgpm.h
parentc55451ff2e5a098a6431dfd1be322f7113a86002 (diff)
parentd7a4ffd6525524000b6e529afa6e3ca63bd76c01 (diff)
* merged lp:~mvo/apt/history
- this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r--apt-pkg/deb/dpkgpm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h
index 43e5c7d45..330c788a2 100644
--- a/apt-pkg/deb/dpkgpm.h
+++ b/apt-pkg/deb/dpkgpm.h
@@ -29,7 +29,9 @@ class pkgDPkgPM : public pkgPackageManager
char dpkgbuf[1024];
int dpkgbuf_pos;
FILE *term_out;
-
+ FILE *history_out;
+ string dpkg_error;
+
protected:
// progress reporting
@@ -66,6 +68,7 @@ class pkgDPkgPM : public pkgPackageManager
// Helpers
bool RunScriptsWithPkgs(const char *Cnf);
bool SendV2Pkgs(FILE *F);
+ void WriteHistoryTag(string tag, string value);
// dpkg log
bool OpenLog();