]> git.saurik.com Git - apt.git/blame - methods/connect.h
merge with my debian-sid branch
[apt.git] / methods / connect.h
CommitLineData
0837bd25
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
b2e465d6 3// $Id: connect.h,v 1.3 2001/02/20 07:03:18 jgg Exp $
0837bd25
AL
4/* ######################################################################
5
6 Connect - Replacement connect call
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef CONNECT_H
11#define CONNECT_H
12
13#include <string>
472ff00e
DK
14
15class pkgAcqMethod;
0837bd25 16
8f3ba4e8 17bool Connect(std::string To,int Port,const char *Service,int DefPort,
9505213b 18 int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
b2e465d6 19void RotateDNS();
0837bd25
AL
20
21#endif