X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0837bd25607acd90944a4bfded58d582371ba112..a6f22547948f1f998c754850c9ddeb3cba784873:/methods/connect.h diff --git a/methods/connect.h b/methods/connect.h index 3af499236..bbe1bb35d 100644 --- a/methods/connect.h +++ b/methods/connect.h @@ -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 @@ -11,9 +11,11 @@ #define CONNECT_H #include -#include -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