Fixed minor memory leak.
[privoxy.git] / showargs.h
1 #ifndef _SHOWARGS_H
2 #define _SHOWARGS_H
3 #define SHOWARGS_H_VERSION "$Id: showargs.h,v 1.4 2001/06/03 11:03:48 oes Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/showargs.h,v $
7  *
8  * Purpose     :  Contains various utility routines needed to 
9  *                generate the show-proxy-args page.
10  *
11  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
12  *                IJBSWA team.  http://ijbswa.sourceforge.net
13  *
14  *                Based on the Internet Junkbuster originally written
15  *                by and Copyright (C) 1997 Anonymous Coders and 
16  *                Junkbusters Corporation.  http://www.junkbusters.com
17  *
18  *                This program is free software; you can redistribute it 
19  *                and/or modify it under the terms of the GNU General
20  *                Public License as published by the Free Software
21  *                Foundation; either version 2 of the License, or (at
22  *                your option) any later version.
23  *
24  *                This program is distributed in the hope that it will
25  *                be useful, but WITHOUT ANY WARRANTY; without even the
26  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
27  *                PARTICULAR PURPOSE.  See the GNU General Public
28  *                License for more details.
29  *
30  *                The GNU General Public License should be included with
31  *                this file.  If not, you can view it at
32  *                http://www.gnu.org/copyleft/gpl.html
33  *                or write to the Free Software Foundation, Inc., 59
34  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
35  *
36  * Revisions   :
37  *    $Log: showargs.h,v $
38  *    Revision 1.4  2001/06/03 11:03:48  oes
39  *    Makefile/in
40  *
41  *    introduced cgi.c
42  *
43  *    actions.c:
44  *
45  *    adapted to new enlist_unique arg format
46  *
47  *    conf loadcfg.c
48  *
49  *    introduced confdir option
50  *
51  *    filters.c filtrers.h
52  *
53  *     extracted-CGI relevant stuff
54  *
55  *    jbsockets.c
56  *
57  *     filled comment
58  *
59  *    jcc.c
60  *
61  *     support for new cgi mechansim
62  *
63  *    list.c list.h
64  *
65  *    functions for new list type: "map"
66  *    extended enlist_unique
67  *
68  *    miscutil.c .h
69  *    introduced bindup()
70  *
71  *    parsers.c parsers.h
72  *
73  *    deleted const struct interceptors
74  *
75  *    pcrs.c
76  *    added FIXME
77  *
78  *    project.h
79  *
80  *    added struct map
81  *    added struct http_response
82  *    changes struct interceptors to struct cgi_dispatcher
83  *    moved HTML stuff to cgi.h
84  *
85  *    re_filterfile:
86  *
87  *    changed
88  *
89  *    showargs.c
90  *    NO TIME LEFT
91  *
92  *    Revision 1.3  2001/05/29 23:11:38  oes
93  *
94  *     - Moved strsav() from showargs to miscutil
95  *
96  *    Revision 1.2  2001/05/26 00:28:36  jongfoster
97  *    Automatic reloading of config file.
98  *    Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
99  *    Most of the global variables have been moved to a new
100  *    struct configuration_spec, accessed through csp->config->globalname
101  *    Most of the globals remaining are used by the Win32 GUI.
102  *
103  *    Revision 1.1.1.1  2001/05/15 13:59:03  oes
104  *    Initial import of version 2.9.3 source tree
105  *
106  *
107  *********************************************************************/
108 \f
109
110 #ifdef __cplusplus
111 extern "C" {
112 #endif
113
114
115 extern void savearg(char *c, char *o, struct configuration_spec * config);
116
117 extern void init_proxy_args(int argc, const char *argv[], struct configuration_spec * config);
118 extern char *end_proxy_args(struct configuration_spec * config);
119
120 /* Revision control strings from this header and associated .c file */
121 extern const char showargs_rcs[];
122 extern const char showargs_h_rcs[];
123
124 #ifdef __cplusplus
125 } /* extern "C" */
126 #endif
127
128 #endif /* ndef _SHOWARGS_H */