d6cafbab310ee98d86caf0f56c663f5339624819
[infodrom/cgilib] / cgiFree.3
1 .\" cgiFree - Frees the data structures
2 .\" Copyright (c) 1999,2007 by Martin Schulze <joey@infodrom.org>
3 .\" 
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
8 .\" 
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 .\" GNU General Public License for more details.
13 .\" 
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 .\"
18 .TH cgiFree 3 "13 December 2007" "CGI Library" "Programmer's Manual"
19 .SH NAME
20 cgiFree \- Frees CGI data structure
21 .SH SYNOPSYS
22 .nf
23 .B #include <cgi.h>
24 .sp
25 .BI "void cgiFree (s_cgi *" parms );
26 .fi
27 .SH DESCRIPTION
28 This routine frees memory allocated by CGI parsing routines.
29 Temporary files from CGI file upload are also removed.
30 This is the opposite of
31 .BR cgiInit (3).
32
33 After this routine was called, no variables, cookies, files and no additional
34 header lines are available.  The result type is also reset to
35 "text/html".
36
37 .SH "AUTHOR"
38 This CGI library is written by Martin Schulze
39 <joey@infodrom.org>.  If you have additions or improvements
40 please get in touch with him.
41
42 .SH "SEE ALSO"
43 .BR cgiInit (3),
44 .BR cgiDebug (3),
45 .BR cgiHeader (3),
46 .BR cgiSetHeader (3),
47 .BR cgiSetType (3),
48 .BR cgiGetValue (3),
49 .BR cgiGetVariables (3)
50 .BR cgiGetCookie (3),
51 .BR cgiGetCookies (3).