Only show "Local support" on templates conditionally:
[privoxy.git] / cgiedit.h
1 #ifndef CGIEDIT_H_INCLUDED
2 #define CGIEDIT_H_INCLUDED
3 #define CGIEDIT_H_VERSION "$Id: cgiedit.h,v 1.1 2001/09/16 15:47:37 jongfoster Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/cgiedit.h,v $
7  *
8  * Purpose     :  CGI-based actionsfile editor.
9  *                
10  *                Functions declared include:
11  * 
12  *
13  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
14  *                IJBSWA team.  http://ijbswa.sourceforge.net
15  *
16  *                Based on the Internet Junkbuster originally written
17  *                by and Copyright (C) 1997 Anonymous Coders and 
18  *                Junkbusters Corporation.  http://www.junkbusters.com
19  *
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.
25  *
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.
31  *
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.
37  *
38  * Revisions   :
39  *    $Log: cgiedit.h,v $
40  *    Revision 1.1  2001/09/16 15:47:37  jongfoster
41  *    First version of CGI-based edit interface.  This is very much a
42  *    work-in-progress, and you can't actually use it to edit anything
43  *    yet.  You must #define FEATURE_CGI_EDIT_ACTIONS for these changes
44  *    to have any effect.
45  *
46  *
47  **********************************************************************/
48 \f
49
50 #include "project.h"
51
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55
56 /*
57  * CGI functions
58  */
59 #ifdef FEATURE_CGI_EDIT_ACTIONS
60 extern int cgi_edit_actions        (struct client_state *csp,
61                                     struct http_response *rsp,
62                                     struct map *parameters);
63 extern int cgi_edit_actions_for_url(struct client_state *csp,
64                                     struct http_response *rsp,
65                                     struct map *parameters);
66 extern int cgi_edit_actions_list   (struct client_state *csp,
67                                     struct http_response *rsp,
68                                     struct map *parameters);
69 extern int cgi_edit_actions_submit (struct client_state *csp,
70                                     struct http_response *rsp,
71                                     struct map *parameters);
72 #endif /* def FEATURE_CGI_EDIT_ACTIONS */
73
74
75 /* Revision control strings from this header and associated .c file */
76 extern const char cgiedit_rcs[];
77 extern const char cgiedit_h_rcs[];
78
79 #ifdef __cplusplus
80 } /* extern "C" */
81 #endif
82
83 #endif /* ndef CGI_H_INCLUDED */
84
85 /*
86   Local Variables:
87   tab-width: 3
88   end:
89 */