Better handling of missing services
[ntk/apt.git] / methods / connect.h
CommitLineData
0837bd25
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
9505213b 3// $Id: connect.h,v 1.2 1999/07/18 23:06:56 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>
14#include <apt-pkg/acquire-method.h>
15
9505213b
AL
16bool Connect(string To,int Port,const char *Service,int DefPort,
17 int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
0837bd25
AL
18
19#endif