File: connect.h

package info (click to toggle)
apt 0.8.10.3%2Bsqueeze7
  • links: PTS
  • area: main
  • in suites: squeeze-lts
  • size: 13,540 kB
  • ctags: 4,423
  • sloc: cpp: 38,033; perl: 6,867; xml: 3,869; sh: 3,068; makefile: 686; python: 309
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