Fix a typo
[privoxy.git] / cgiedit.h
1 #ifndef CGIEDIT_H_INCLUDED
2 #define CGIEDIT_H_INCLUDED
3 #define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.11 2009/05/16 13:27:20 fabiankeil Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
7  *
8  * Purpose     :  CGI-based actionsfile editor.
9  *
10  *                Functions declared include:
11  *
12  *
13  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
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 #ifdef __cplusplus
44 extern "C" {
45 #endif
46
47 /*
48  * CGI functions
49  */
50 #ifdef FEATURE_CGI_EDIT_ACTIONS
51 extern jb_err cgi_edit_actions        (struct client_state *csp,
52                                        struct http_response *rsp,
53                                        const struct map *parameters);
54 extern jb_err cgi_edit_actions_for_url(struct client_state *csp,
55                                        struct http_response *rsp,
56                                        const struct map *parameters);
57 extern jb_err cgi_edit_actions_list   (struct client_state *csp,
58                                        struct http_response *rsp,
59                                        const struct map *parameters);
60 extern jb_err cgi_edit_actions_submit (struct client_state *csp,
61                                        struct http_response *rsp,
62                                        const struct map *parameters);
63 extern jb_err cgi_edit_actions_url    (struct client_state *csp,
64                                        struct http_response *rsp,
65                                        const struct map *parameters);
66 extern jb_err cgi_edit_actions_url_form(struct client_state *csp,
67                                         struct http_response *rsp,
68                                         const struct map *parameters);
69 extern jb_err cgi_edit_actions_add_url(struct client_state *csp,
70                                        struct http_response *rsp,
71                                        const struct map *parameters);
72 extern jb_err cgi_edit_actions_add_url_form(struct client_state *csp,
73                                             struct http_response *rsp,
74                                             const struct map *parameters);
75 extern jb_err cgi_edit_actions_remove_url    (struct client_state *csp,
76                                               struct http_response *rsp,
77                                               const struct map *parameters);
78 extern jb_err cgi_edit_actions_remove_url_form(struct client_state *csp,
79                                             struct http_response *rsp,
80                                             const struct map *parameters);
81 extern jb_err cgi_edit_actions_section_remove(struct client_state *csp,
82                                               struct http_response *rsp,
83                                               const struct map *parameters);
84 extern jb_err cgi_edit_actions_section_add   (struct client_state *csp,
85                                               struct http_response *rsp,
86                                               const struct map *parameters);
87 extern jb_err cgi_edit_actions_section_swap  (struct client_state *csp,
88                                               struct http_response *rsp,
89                                               const struct map *parameters);
90 #endif /* def FEATURE_CGI_EDIT_ACTIONS */
91 #ifdef FEATURE_TOGGLE
92 extern jb_err cgi_toggle(struct client_state *csp,
93                          struct http_response *rsp,
94                          const struct map *parameters);
95 #endif /* def FEATURE_TOGGLE */
96
97 /* Revision control strings from this header and associated .c file */
98 extern const char cgiedit_rcs[];
99 extern const char cgiedit_h_rcs[];
100
101 #ifdef __cplusplus
102 } /* extern "C" */
103 #endif
104
105 #endif /* ndef CGI_H_INCLUDED */
106
107 /*
108   Local Variables:
109   tab-width: 3
110   end:
111 */