X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.h;h=01e6a9e81e22795376d28ff8b93a7cf00ec99da5;hp=f51d347ac78f69bee892953a9481846bd2c30ccf;hb=56f3964a2bd367ca422feef5c72f537aa43c17e8;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/cgisimple.h b/cgisimple.h index f51d347a..01e6a9e8 100644 --- a/cgisimple.h +++ b/cgisimple.h @@ -1,18 +1,17 @@ #ifndef CGISIMPLE_H_INCLUDED #define CGISIMPLE_H_INCLUDED -#define CGISIMPLE_H_VERSION "$Id: cgisimple.h,v 1.17 2009/05/16 13:27:20 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.h,v $ * * Purpose : Declares functions to intercept request, generate - * html or gif answers, and to compose HTTP resonses. + * html or gif answers, and to compose HTTP responses. * * Functions declared include: * * - * Copyright : Written by and Copyright (C) 2001-2007 the SourceForge - * Privoxy team. http://www.privoxy.org/ + * Copyright : Written by and Copyright (C) 2001-2017 members of the + * Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written * by and Copyright (C) 1997 Anonymous Coders and @@ -41,10 +40,6 @@ #include "project.h" -#ifdef __cplusplus -extern "C" { -#endif - /* * CGI functions */ @@ -66,12 +61,17 @@ extern jb_err cgi_show_status (struct client_state *csp, extern jb_err cgi_show_url_info(struct client_state *csp, struct http_response *rsp, const struct map *parameters); -extern jb_err cgi_show_version (struct client_state *csp, - struct http_response *rsp, - const struct map *parameters); extern jb_err cgi_show_request (struct client_state *csp, struct http_response *rsp, const struct map *parameters); +#ifdef FEATURE_CLIENT_TAGS +extern jb_err cgi_show_client_tags(struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); +extern jb_err cgi_toggle_client_tag(struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); +#endif extern jb_err cgi_transparent_image (struct client_state *csp, struct http_response *rsp, const struct map *parameters); @@ -98,14 +98,6 @@ extern jb_err cgi_die (struct client_state *csp, const struct map *parameters); #endif -/* Revision control strings from this header and associated .c file */ -extern const char cgisimple_rcs[]; -extern const char cgisimple_h_rcs[]; - -#ifdef __cplusplus -} /* extern "C" */ -#endif - #endif /* ndef CGISIMPLE_H_INCLUDED */ /*