]> git.saurik.com Git - apt-legacy.git/blame - methods/connect.h
Re-sectioning of just about everything.
[apt-legacy.git] / methods / connect.h
CommitLineData
da6ee469
JF
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3// $Id: connect.h,v 1.3 2001/02/20 07:03:18 jgg Exp $
4/* ######################################################################
5
6 Connect - Replacement connect call
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef CONNECT_H
11#define CONNECT_H
12
13#include <string>
14#include <apt-pkg/acquire-method.h>
15
16bool Connect(string To,int Port,const char *Service,int DefPort,
17 int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
18void RotateDNS();
19
20#endif