Remove show_rcs() and the CVS ids it relied upon
[privoxy.git] / cgisimple.h
1 #ifndef CGISIMPLE_H_INCLUDED
2 #define CGISIMPLE_H_INCLUDED
3 /*********************************************************************
4  *
5  * File        :  $Source: /cvsroot/ijbswa/current/cgisimple.h,v $
6  *
7  * Purpose     :  Declares functions to intercept request, generate
8  *                html or gif answers, and to compose HTTP resonses.
9  *
10  *                Functions declared include:
11  *
12  *
13  * Copyright   :  Written by and Copyright (C) 2001-2017 members of the
14  *                Privoxy team. http://www.privoxy.org/
15  *
16  *                Based on the Internet Junkbuster originally written
17  *                by and Copyright (C) 1997 Anonymous Coders and
18  *                Junkbusters Corporation.  http://www.junkbusters.com
19  *
20  *                This program is free software; you can redistribute it
21  *                and/or modify it under the terms of the GNU General
22  *                Public License as published by the Free Software
23  *                Foundation; either version 2 of the License, or (at
24  *                your option) any later version.
25  *
26  *                This program is distributed in the hope that it will
27  *                be useful, but WITHOUT ANY WARRANTY; without even the
28  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
29  *                PARTICULAR PURPOSE.  See the GNU General Public
30  *                License for more details.
31  *
32  *                The GNU General Public License should be included with
33  *                this file.  If not, you can view it at
34  *                http://www.gnu.org/copyleft/gpl.html
35  *                or write to the Free Software Foundation, Inc., 59
36  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
37  *
38  **********************************************************************/
39
40
41 #include "project.h"
42
43 /*
44  * CGI functions
45  */
46 extern jb_err cgi_default      (struct client_state *csp,
47                                 struct http_response *rsp,
48                                 const struct map *parameters);
49 extern jb_err cgi_error_404    (struct client_state *csp,
50                                 struct http_response *rsp,
51                                 const struct map *parameters);
52 extern jb_err cgi_robots_txt   (struct client_state *csp,
53                                 struct http_response *rsp,
54                                 const struct map *parameters);
55 extern jb_err cgi_send_banner  (struct client_state *csp,
56                                 struct http_response *rsp,
57                                 const struct map *parameters);
58 extern jb_err cgi_show_status  (struct client_state *csp,
59                                 struct http_response *rsp,
60                                 const struct map *parameters);
61 extern jb_err cgi_show_url_info(struct client_state *csp,
62                                 struct http_response *rsp,
63                                 const struct map *parameters);
64 extern jb_err cgi_show_version (struct client_state *csp,
65                                 struct http_response *rsp,
66                                 const struct map *parameters);
67 extern jb_err cgi_show_request (struct client_state *csp,
68                                 struct http_response *rsp,
69                                 const struct map *parameters);
70 #ifdef FEATURE_CLIENT_TAGS
71 extern jb_err cgi_show_client_tags(struct client_state *csp,
72                                    struct http_response *rsp,
73                                    const struct map *parameters);
74 extern jb_err cgi_toggle_client_tag(struct client_state *csp,
75                                     struct http_response *rsp,
76                                     const struct map *parameters);
77 #endif
78 extern jb_err cgi_transparent_image (struct client_state *csp,
79                                      struct http_response *rsp,
80                                      const struct map *parameters);
81 extern jb_err cgi_send_error_favicon (struct client_state *csp,
82                                       struct http_response *rsp,
83                                       const struct map *parameters);
84 extern jb_err cgi_send_default_favicon (struct client_state *csp,
85                                         struct http_response *rsp,
86                                         const struct map *parameters);
87 extern jb_err cgi_send_stylesheet(struct client_state *csp,
88                                   struct http_response *rsp,
89                                   const struct map *parameters);
90 extern jb_err cgi_send_url_info_osd(struct client_state *csp,
91                                     struct http_response *rsp,
92                                     const struct map *parameters);
93 extern jb_err cgi_send_user_manual(struct client_state *csp,
94                                    struct http_response *rsp,
95                                    const struct map *parameters);
96
97
98 #ifdef FEATURE_GRACEFUL_TERMINATION
99 extern jb_err cgi_die (struct client_state *csp,
100                        struct http_response *rsp,
101                        const struct map *parameters);
102 #endif
103
104 #endif /* ndef CGISIMPLE_H_INCLUDED */
105
106 /*
107   Local Variables:
108   tab-width: 3
109   end:
110 */