X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.h;h=6be066d97a392e227413c89f734e651529e0b6db;hp=d5aa6282c801faf2e41fe4d0bd337c0f6d71a4cc;hb=045bd78d8b185b981d4651c10361f0c9dc193677;hpb=83a36343155a2f17d29ff1c706809bf56382a9ec diff --git a/cgisimple.h b/cgisimple.h index d5aa6282..6be066d9 100644 --- a/cgisimple.h +++ b/cgisimple.h @@ -1,9 +1,9 @@ #ifndef CGISIMPLE_H_INCLUDED #define CGISIMPLE_H_INCLUDED -#define CGISIMPLE_H_VERSION "$Id: cgi.h,v 1.15 2001/09/16 15:02:35 jongfoster Exp $" +#define CGISIMPLE_H_VERSION "$Id: cgisimple.h,v 1.2 2001/10/02 15:31:20 oes Exp $" /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/cgi.h,v $ + * File : $Source: /cvsroot/ijbswa/current/cgisimple.h,v $ * * Purpose : Declares functions to intercept request, generate * html or gif answers, and to compose HTTP resonses. @@ -37,7 +37,13 @@ * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Revisions : - * $Log: cgi.h,v $ + * $Log: cgisimple.h,v $ + * Revision 1.2 2001/10/02 15:31:20 oes + * Introduced show-request cgi + * + * Revision 1.1 2001/09/16 17:08:54 jongfoster + * Moving simple CGI functions from cgi.c to new file cgisimple.c + * * **********************************************************************/ @@ -54,6 +60,9 @@ extern "C" { extern int cgi_default (struct client_state *csp, struct http_response *rsp, struct map *parameters); +extern int cgi_error_404 (struct client_state *csp, + struct http_response *rsp, + struct map *parameters); extern int cgi_robots_txt (struct client_state *csp, struct http_response *rsp, struct map *parameters); @@ -69,6 +78,9 @@ extern int cgi_show_url_info (struct client_state *csp, extern int cgi_show_version (struct client_state *csp, struct http_response *rsp, struct map *parameters); +extern int cgi_show_request (struct client_state *csp, + struct http_response *rsp, + struct map *parameters); /* Revision control strings from this header and associated .c file */ extern const char cgisimple_rcs[];