]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.h
respect user pinning in M-A:same version (un)screwing
[apt.git] / methods / rsh.h
index 35cbee3e0cc63febddda4cdeedac23ca7f2dfcec..64a5cf66190c756a652ec0fe9c8214d668c76813 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,7 +50,7 @@ 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();
 };