HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'mvo/feature/apt-update-info' into debian/sid
[ntk/apt.git]
/
methods
/
connect.h
diff --git
a/methods/connect.h
b/methods/connect.h
index
1786a24
..
bbe1bb3
100644
(file)
--- a/
methods/connect.h
+++ b/
methods/connect.h
@@
-1,6
+1,6
@@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: connect.h,v 1.
2 1999/07/18 23:06:56
jgg Exp $
+// $Id: connect.h,v 1.
3 2001/02/20 07:03:18
jgg Exp $
/* ######################################################################
Connect - Replacement connect call
/* ######################################################################
Connect - Replacement connect call
@@
-11,9
+11,11
@@
#define CONNECT_H
#include <string>
#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);
int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
+void RotateDNS();
#endif
#endif