File: connect.h

package info (click to toggle)
apt 0.6.46.4-0.1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 8,104 kB
  • ctags: 3,422
  • sloc: cpp: 29,934; xml: 9,133; sh: 3,019; makefile: 673; perl: 209
file content (20 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// -*- mode: cpp; mode: fold -*-
// Description								/*{{{*/
// $Id: connect.h,v 1.3 2001/02/20 07:03:18 jgg Exp $
/* ######################################################################

   Connect - Replacement connect call
   
   ##################################################################### */
									/*}}}*/
#ifndef CONNECT_H
#define CONNECT_H

#include <string>
#include <apt-pkg/acquire-method.h>

bool Connect(string To,int Port,const char *Service,int DefPort,
	     int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);
void RotateDNS();

#endif