show version string of cgi.h and cgi.c
[privoxy.git] / gateway.h
1 #ifndef _GATEWAY_H
2 #define _GATEWAY_H
3 #define GATEWAY_H_VERSION "$Id: gateway.h,v 1.1 2001/05/13 21:57:06 administrator Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /home/administrator/cvs/ijb/gateway.h,v $
7  *
8  * Purpose     :  Contains functions to connect to a server, possibly
9  *                using a "gateway" (i.e. HTTP proxy and/or SOCKS4
10  *                proxy).  Also contains the list of gateway types.
11  *
12  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
13  *                IJBSWA team.  http://ijbswa.sourceforge.net
14  *
15  *                Based on the Internet Junkbuster originally written
16  *                by and Copyright (C) 1997 Anonymous Coders and 
17  *                Junkbusters Corporation.  http://www.junkbusters.com
18  *
19  *                This program is free software; you can redistribute it 
20  *                and/or modify it under the terms of the GNU General
21  *                Public License as published by the Free Software
22  *                Foundation; either version 2 of the License, or (at
23  *                your option) any later version.
24  *
25  *                This program is distributed in the hope that it will
26  *                be useful, but WITHOUT ANY WARRANTY; without even the
27  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
28  *                PARTICULAR PURPOSE.  See the GNU General Public
29  *                License for more details.
30  *
31  *                The GNU General Public License should be included with
32  *                this file.  If not, you can view it at
33  *                http://www.gnu.org/copyleft/gpl.html
34  *                or write to the Free Software Foundation, Inc., 59
35  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
36  *
37  * Revisions   :
38  *    $Log: gateway.h,v $
39  *
40  *********************************************************************/
41 \f
42
43 #include "project.h"
44
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49 extern const struct gateway gateways[];
50 extern const struct gateway *gw_default;
51
52 extern int socks4_connect(const struct gateway *gw, struct http_request *http, struct client_state *csp);
53 extern int direct_connect(const struct gateway *gw, struct http_request *http, struct client_state *csp);
54
55 /* Revision control strings from this header and associated .c file */
56 extern const char gateway_rcs[];
57 extern const char gateway_h_rcs[];
58
59 #ifdef __cplusplus
60 } /* extern "C" */
61 #endif
62
63 #endif /* ndef _GATEWAY_H */
64
65 /*
66   Local Variables:
67   tab-width: 3
68   end:
69 */