]> git.saurik.com Git - apt.git/blobdiff - methods/connect.h
react to trig-pend only if we have nothing else to do
[apt.git] / methods / connect.h
index 6f208e31d0146d03c60b102ae56dbc1e28f033f5..bbe1bb35d1add08ce3fd3a5135ddac0580dab00d 100644 (file)
 #define CONNECT_H
 
 #include <string>
-#include <apt-pkg/acquire-method.h>
 
-bool Connect(string To,int Port,const char *Service,int DefPort,
+class pkgAcqMethod;
+
+bool Connect(std::string To,int Port,const char *Service,int DefPort,
             int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
 void RotateDNS();