X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.h;h=52642a40c56c58ea8c27ed6fc29581e90a0da965;hp=b7a98a07ab6fbf0d0fb9efe747eb524c946e42cc;hb=d6f2d069a7d978d9f27f9f2d82a64cd48a4d96d8;hpb=e72b401da5537a14b29e945944926373cb251825 diff --git a/cgisimple.h b/cgisimple.h index b7a98a07..52642a40 100644 --- a/cgisimple.h +++ b/cgisimple.h @@ -1,24 +1,23 @@ #ifndef CGISIMPLE_H_INCLUDED #define CGISIMPLE_H_INCLUDED -#define CGISIMPLE_H_VERSION "$Id: cgisimple.h,v 1.16 2008/05/26 17:30:55 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. - * + * * Functions declared include: - * * - * Copyright : Written by and Copyright (C) 2001-2007 the SourceForge + * + * Copyright : Written by and Copyright (C) 2001-2017 members of the * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written - * by and Copyright (C) 1997 Anonymous Coders and + * by and Copyright (C) 1997 Anonymous Coders and * Junkbusters Corporation. http://www.junkbusters.com * - * This program is free software; you can redistribute it + * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software * Foundation; either version 2 of the License, or (at @@ -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 */ /*