File: connect.h

package info (click to toggle)
apt 1.0.9.8
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 16,100 kB
  • sloc: cpp: 50,948; sh: 11,941; xml: 4,130; makefile: 854; perl: 209; python: 28
file content (21 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// -*- 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>

class pkgAcqMethod;

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

#endif