1 #ifndef CGIEDIT_H_INCLUDED
2 #define CGIEDIT_H_INCLUDED
3 #define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.10 2008/08/31 15:59:03 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 **********************************************************************/
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 */
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 */
97 /* Revision control strings from this header and associated .c file */
98 extern const char cgiedit_rcs[];
99 extern const char cgiedit_h_rcs[];
105 #endif /* ndef CGI_H_INCLUDED */