X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=gateway.h;h=278f70e0ab4c4a6e4e5f6977f0cccf4da261f738;hp=5f1eb8261771079528af5034dc35f785f31c73c2;hb=622f8b00129cfb6abeb0d90f095b5ca5dd9d6c35;hpb=410a819a57f1deee21703f1cb0dd18b707a7adaa diff --git a/gateway.h b/gateway.h index 5f1eb826..278f70e0 100644 --- a/gateway.h +++ b/gateway.h @@ -1,6 +1,6 @@ -#ifndef _GATEWAY_H -#define _GATEWAY_H -#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.1.1.1 2001/05/15 13:58:54 oes Exp $" +#ifndef GATEWAY_H_INCLUDED +#define GATEWAY_H_INCLUDED +#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.2 2001/06/07 23:12:14 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/gateway.h,v $ @@ -36,6 +36,14 @@ * * Revisions : * $Log: gateway.h,v $ + * Revision 1.2 2001/06/07 23:12:14 jongfoster + * Removing gateways[] list - no longer used. + * Replacing function pointer in struct gateway with a directly + * called function forwarded_connect(), which can do the common + * task of deciding whether to connect to the web server or HTTP + * proxy. + * Replacing struct gateway with struct forward_spec + * * Revision 1.1.1.1 2001/05/15 13:58:54 oes * Initial import of version 2.9.3 source tree * @@ -43,12 +51,14 @@ *********************************************************************/ -#include "project.h" - #ifdef __cplusplus extern "C" { #endif +struct forward_spec; +struct http_request; +struct client_state; + extern int forwarded_connect(const struct forward_spec * fwd, struct http_request *http, struct client_state *csp); @@ -61,7 +71,7 @@ extern const char gateway_h_rcs[]; } /* extern "C" */ #endif -#endif /* ndef _GATEWAY_H */ +#endif /* ndef GATEWAY_H_INCLUDED */ /* Local Variables: