summaryrefslogtreecommitdiff
path: root/methods/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/connect.h')
-rw-r--r--methods/connect.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/methods/connect.h b/methods/connect.h
index bbe1bb35d..44473a07c 100644
--- a/methods/connect.h
+++ b/methods/connect.h
@@ -12,10 +12,11 @@
#include <string>
-class pkgAcqMethod;
+class aptMethod;
+
+bool Connect(std::string To, int Port, const char *Service, int DefPort,
+ int &Fd, unsigned long TimeOut, aptMethod *Owner);
-bool Connect(std::string To,int Port,const char *Service,int DefPort,
- int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
void RotateDNS();
#endif