]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.h
* Reset curl options and timestamp between downloaded files. Thanks to
[apt.git] / apt-pkg / deb / dpkgpm.h
index 222add98f7c886f4c4d03bf497a0aacbbc9b8395..e5f19740568da6b1d41d922d543531939ab6150c 100644 (file)
@@ -45,10 +45,10 @@ class pkgDPkgPM : public pkgPackageManager
    // the dpkg states that are already done; the string is the package
    // 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,int> PackageOpsDone;
+   map<string,unsigned int> PackageOpsDone;
    // progress reporting
-   int PackagesDone;
-   int PackagesTotal;
+   unsigned int PackagesDone;
+   unsigned int PackagesTotal;
   
    struct Item
    {
@@ -70,6 +70,10 @@ class pkgDPkgPM : public pkgPackageManager
    // 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);