summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-07-19 00:22:42 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-07-19 00:22:42 +0100
commit6191b008773fc4f0476d4c8f485d146dab13cccd (patch)
tree54710d92c2a7f804613c5210ba3195e7ef908b39 /apt-pkg/deb/dpkgpm.h
parent76d940371391ac601369ea6b487c87fe65f1fd26 (diff)
apt-pkg/deb/dpkgpm.{cc,h}:
- move make dpkgstatus processing into DoDpkgStatusFd() and ProcessDpkgStatusLine() [the later is a stub for now]
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r--apt-pkg/deb/dpkgpm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h
index a1466878d..f47cd0bd8 100644
--- a/apt-pkg/deb/dpkgpm.h
+++ b/apt-pkg/deb/dpkgpm.h
@@ -18,6 +18,10 @@ using std::vector;
class pkgDPkgPM : public pkgPackageManager
{
+ private:
+ int dpkgbuf_pos;
+ char dpkgbuf[1024];
+
protected:
// used for progress reporting
@@ -47,7 +51,9 @@ class pkgDPkgPM : public pkgPackageManager
// input processing
void DoStdin(int master);
void DoTerminalPty(int master, FILE *out);
- // void DoDpkgStatusFd();
+ void DoDpkgStatusFd(int statusfd);
+ void ProcessDpkgStatusLine(char *line);
+
// The Actuall installation implementation
virtual bool Install(PkgIterator Pkg,string File);