cgiedit.h 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #ifndef CGIEDIT_H_INCLUDED
  2. #define CGIEDIT_H_INCLUDED
  3. /*********************************************************************
  4. *
  5. * File : $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
  6. *
  7. * Purpose : CGI-based actionsfile editor.
  8. *
  9. * Functions declared include:
  10. *
  11. *
  12. * Copyright : Written by and Copyright (C) 2001 members of the
  13. * Privoxy team. https://www.privoxy.org/
  14. *
  15. * Based on the Internet Junkbuster originally written
  16. * by and Copyright (C) 1997 Anonymous Coders and
  17. * Junkbusters Corporation. http://www.junkbusters.com
  18. *
  19. * This program is free software; you can redistribute it
  20. * and/or modify it under the terms of the GNU General
  21. * Public License as published by the Free Software
  22. * Foundation; either version 2 of the License, or (at
  23. * your option) any later version.
  24. *
  25. * This program is distributed in the hope that it will
  26. * be useful, but WITHOUT ANY WARRANTY; without even the
  27. * implied warranty of MERCHANTABILITY or FITNESS FOR A
  28. * PARTICULAR PURPOSE. See the GNU General Public
  29. * License for more details.
  30. *
  31. * The GNU General Public License should be included with
  32. * this file. If not, you can view it at
  33. * http://www.gnu.org/copyleft/gpl.html
  34. * or write to the Free Software Foundation, Inc., 59
  35. * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  36. *
  37. **********************************************************************/
  38. #include "project.h"
  39. /*
  40. * CGI functions
  41. */
  42. #ifdef FEATURE_CGI_EDIT_ACTIONS
  43. extern jb_err cgi_edit_actions (struct client_state *csp,
  44. struct http_response *rsp,
  45. const struct map *parameters);
  46. extern jb_err cgi_edit_actions_for_url(struct client_state *csp,
  47. struct http_response *rsp,
  48. const struct map *parameters);
  49. extern jb_err cgi_edit_actions_list (struct client_state *csp,
  50. struct http_response *rsp,
  51. const struct map *parameters);
  52. extern jb_err cgi_edit_actions_submit (struct client_state *csp,
  53. struct http_response *rsp,
  54. const struct map *parameters);
  55. extern jb_err cgi_edit_actions_url (struct client_state *csp,
  56. struct http_response *rsp,
  57. const struct map *parameters);
  58. extern jb_err cgi_edit_actions_url_form(struct client_state *csp,
  59. struct http_response *rsp,
  60. const struct map *parameters);
  61. extern jb_err cgi_edit_actions_add_url(struct client_state *csp,
  62. struct http_response *rsp,
  63. const struct map *parameters);
  64. extern jb_err cgi_edit_actions_add_url_form(struct client_state *csp,
  65. struct http_response *rsp,
  66. const struct map *parameters);
  67. extern jb_err cgi_edit_actions_remove_url (struct client_state *csp,
  68. struct http_response *rsp,
  69. const struct map *parameters);
  70. extern jb_err cgi_edit_actions_remove_url_form(struct client_state *csp,
  71. struct http_response *rsp,
  72. const struct map *parameters);
  73. extern jb_err cgi_edit_actions_section_remove(struct client_state *csp,
  74. struct http_response *rsp,
  75. const struct map *parameters);
  76. extern jb_err cgi_edit_actions_section_add (struct client_state *csp,
  77. struct http_response *rsp,
  78. const struct map *parameters);
  79. extern jb_err cgi_edit_actions_section_swap (struct client_state *csp,
  80. struct http_response *rsp,
  81. const struct map *parameters);
  82. #endif /* def FEATURE_CGI_EDIT_ACTIONS */
  83. #ifdef FEATURE_TOGGLE
  84. extern jb_err cgi_toggle(struct client_state *csp,
  85. struct http_response *rsp,
  86. const struct map *parameters);
  87. #endif /* def FEATURE_TOGGLE */
  88. #endif /* ndef CGI_H_INCLUDED */
  89. /*
  90. Local Variables:
  91. tab-width: 3
  92. end:
  93. */