X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gateway.h;h=c5f83a2bcf92c01a7e3e2ac85c554fc8d496ae94;hb=25364012f3b93349a1978e58e7f0b412a58d6faf;hp=b887da810cb36646ea370f8a7b9a5681f2e256fe;hpb=72081f829de368392d04076728f8c991178c0080;p=privoxy.git diff --git a/gateway.h b/gateway.h index b887da81..c5f83a2b 100644 --- a/gateway.h +++ b/gateway.h @@ -1,9 +1,9 @@ #ifndef GATEWAY_H_INCLUDED #define GATEWAY_H_INCLUDED -#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.7 2002/03/26 22:29:54 swa Exp $" +#define GATEWAY_H_VERSION "$Id: gateway.h,v 1.9 2006/07/18 14:48:46 david__schmidt Exp $" /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/Attic/gateway.h,v $ + * File : $Source: /cvsroot/ijbswa/current/gateway.h,v $ * * Purpose : Contains functions to connect to a server, possibly * using a "gateway" (i.e. HTTP proxy and/or SOCKS4 @@ -36,6 +36,10 @@ * * Revisions : * $Log: gateway.h,v $ + * Revision 1.9 2006/07/18 14:48:46 david__schmidt + * Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch) + * with what was really the latest development (the v_3_0_branch branch) + * * Revision 1.7 2002/03/26 22:29:54 swa * we have a new homepage! * @@ -99,6 +103,14 @@ struct client_state; extern jb_socket forwarded_connect(const struct forward_spec * fwd, struct http_request *http, struct client_state *csp); +#ifdef FEATURE_CONNECTION_KEEP_ALIVE +extern void initialize_reusable_connections(void); +extern void forget_connection(jb_socket sfd); +extern void remember_connection(jb_socket sfd, + const struct http_request *http, + const struct forward_spec *fwd); +#endif /* FEATURE_CONNECTION_KEEP_ALIVE */ + /* * Solaris fix