Adding new CGIs for use by non-JavaScript browsers:
[privoxy.git] / cgiedit.h
index 38443a0..e5a5510 100644 (file)
--- 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.3 2001/10/23 21:48:19 jongfoster Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
  *
  * Revisions   :
  *    $Log: cgiedit.h,v $
+ *    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,12 +95,21 @@ 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);