]> git.saurik.com Git - apt.git/blobdiff - methods/connect.h
get pdiff files from the same mirror as the index
[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();