]> git.saurik.com Git - apt.git/blobdiff - methods/connect.h
releasing package apt version 1.0.5
[apt.git] / methods / connect.h
index 3af4992367855f6a7515aa95bfcc2a5afee686f5..bbe1bb35d1add08ce3fd3a5135ddac0580dab00d 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: connect.h,v 1.1 1999/05/29 03:25:03 jgg Exp $
+// $Id: connect.h,v 1.3 2001/02/20 07:03:18 jgg Exp $
 /* ######################################################################
 
    Connect - Replacement connect call
 #define CONNECT_H
 
 #include <string>
-#include <apt-pkg/acquire-method.h>
 
-bool Connect(string To,int Port,const char *Service,int &Fd,
-            unsigned long TimeOut,pkgAcqMethod *Owner);
+class pkgAcqMethod;
+
+bool Connect(std::string To,int Port,const char *Service,int DefPort,
+            int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
+void RotateDNS();
 
 #endif