1 #ifndef CGIEDIT_H_INCLUDED
2 #define CGIEDIT_H_INCLUDED
3 #define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.12 2011/09/04 11:10:56 fabiankeil Exp $"
4 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
8 * Purpose : CGI-based actionsfile editor.
10 * Functions declared include:
13 * Copyright : Written by and Copyright (C) 2001 the SourceForge
14 * Privoxy team. http://www.privoxy.org/
16 * Based on the Internet Junkbuster originally written
17 * by and Copyright (C) 1997 Anonymous Coders and
18 * Junkbusters Corporation. http://www.junkbusters.com
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.
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.
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.
38 **********************************************************************/
46 #ifdef FEATURE_CGI_EDIT_ACTIONS
47 extern jb_err cgi_edit_actions (struct client_state *csp,
48 struct http_response *rsp,
49 const struct map *parameters);
50 extern jb_err cgi_edit_actions_for_url(struct client_state *csp,
51 struct http_response *rsp,
52 const struct map *parameters);
53 extern jb_err cgi_edit_actions_list (struct client_state *csp,
54 struct http_response *rsp,
55 const struct map *parameters);
56 extern jb_err cgi_edit_actions_submit (struct client_state *csp,
57 struct http_response *rsp,
58 const struct map *parameters);
59 extern jb_err cgi_edit_actions_url (struct client_state *csp,
60 struct http_response *rsp,
61 const struct map *parameters);
62 extern jb_err cgi_edit_actions_url_form(struct client_state *csp,
63 struct http_response *rsp,
64 const struct map *parameters);
65 extern jb_err cgi_edit_actions_add_url(struct client_state *csp,
66 struct http_response *rsp,
67 const struct map *parameters);
68 extern jb_err cgi_edit_actions_add_url_form(struct client_state *csp,
69 struct http_response *rsp,
70 const struct map *parameters);
71 extern jb_err cgi_edit_actions_remove_url (struct client_state *csp,
72 struct http_response *rsp,
73 const struct map *parameters);
74 extern jb_err cgi_edit_actions_remove_url_form(struct client_state *csp,
75 struct http_response *rsp,
76 const struct map *parameters);
77 extern jb_err cgi_edit_actions_section_remove(struct client_state *csp,
78 struct http_response *rsp,
79 const struct map *parameters);
80 extern jb_err cgi_edit_actions_section_add (struct client_state *csp,
81 struct http_response *rsp,
82 const struct map *parameters);
83 extern jb_err cgi_edit_actions_section_swap (struct client_state *csp,
84 struct http_response *rsp,
85 const struct map *parameters);
86 #endif /* def FEATURE_CGI_EDIT_ACTIONS */
88 extern jb_err cgi_toggle(struct client_state *csp,
89 struct http_response *rsp,
90 const struct map *parameters);
91 #endif /* def FEATURE_TOGGLE */
93 /* Revision control strings from this header and associated .c file */
94 extern const char cgiedit_rcs[];
95 extern const char cgiedit_h_rcs[];
97 #endif /* ndef CGI_H_INCLUDED */