]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.h
support dpkg debug mode in APT::StateChanges
[apt.git] / methods / rsh.h
index 35cbee3e0cc63febddda4cdeedac23ca7f2dfcec..571e38ba64baba53a062987b1f0fb1f9facf0081 100644 (file)
@@ -25,6 +25,7 @@ class RSHConn
    int WriteFd;
    int ReadFd;
    URI ServerName;
+   std::string const Prog;
 
    // Private helper functions
    bool ReadLine(std::string &Text);
@@ -49,11 +50,10 @@ class RSHConn
    bool Get(const char *Path,FileFd &To,unsigned long long Resume,
             Hashes &Hash,bool &Missing, unsigned long long Size);
 
-   explicit RSHConn(URI Srv);
+   RSHConn(std::string const &Prog, URI Srv);
    ~RSHConn();
 };
 
-#include <apt-pkg/acquire-method.h>
 #include "aptmethod.h"
 
 class RSHMethod : public aptMethod