X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgiedit.h;h=66b4e56ec972beb2a400321be5f2da364c6be7b0;hp=38443a041c4b2fbdcc15108c7c1dcfd2cf34e823;hb=6932bd93b3c66915d9ed55d28a0a9e5b03380922;hpb=fc38802c68b57157c6e3c763d15dbd9f8e85e170 diff --git a/cgiedit.h b/cgiedit.h index 38443a04..66b4e56e 100644 --- a/cgiedit.h +++ b/cgiedit.h @@ -1,6 +1,6 @@ #ifndef CGIEDIT_H_INCLUDED #define CGIEDIT_H_INCLUDED -#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.2 2001/10/14 22:12:49 jongfoster Exp $" +#define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.4 2001/11/13 00:28:51 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgiedit.h,v $ @@ -37,6 +37,24 @@ * * Revisions : * $Log: cgiedit.h,v $ + * Revision 1.4 2001/11/13 00:28:51 jongfoster + * Adding new CGIs for use by non-JavaScript browsers: + * edit-actions-url-form + * edit-actions-add-url-form + * edit-actions-remove-url-form + * + * Revision 1.3 2001/10/23 21:48:19 jongfoster + * Cleaning up error handling in CGI functions - they now send back + * a HTML error page and should never cause a FATAL error. (Fixes one + * potential source of "denial of service" attacks). + * + * CGI actions file editor that works and is actually useful. + * + * Ability to toggle JunkBuster remotely using a CGI call. + * + * You can turn off both the above features in the main configuration + * file, e.g. if you are running a multi-user proxy. + * * Revision 1.2 2001/10/14 22:12:49 jongfoster * New version of CGI-based actionsfile editor. * Major changes, including: @@ -83,18 +101,30 @@ extern jb_err cgi_edit_actions_submit (struct client_state *csp, extern jb_err cgi_edit_actions_url (struct client_state *csp, struct http_response *rsp, const struct map *parameters); +extern jb_err cgi_edit_actions_url_form(struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); extern jb_err cgi_edit_actions_add_url(struct client_state *csp, struct http_response *rsp, const struct map *parameters); +extern jb_err cgi_edit_actions_add_url_form(struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); extern jb_err cgi_edit_actions_remove_url (struct client_state *csp, struct http_response *rsp, const struct map *parameters); +extern jb_err cgi_edit_actions_remove_url_form(struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); extern jb_err cgi_edit_actions_section_remove(struct client_state *csp, struct http_response *rsp, const struct map *parameters); extern jb_err cgi_edit_actions_section_add (struct client_state *csp, struct http_response *rsp, const struct map *parameters); +extern jb_err cgi_edit_actions_section_swap (struct client_state *csp, + struct http_response *rsp, + const struct map *parameters); extern jb_err cgi_toggle(struct client_state *csp, struct http_response *rsp, const struct map *parameters);