Scroll to navigation

cgiFree(3) Programmer's Manual cgiFree(3)

NAME

cgiFree - Frees CGI data structure

SYNOPSYS

#include <cgi.h>

void cgiFree (s_cgi *parms);

DESCRIPTION

This routine frees memory allocated by CGI parsing routines. Temporary files from CGI file upload are also removed. This is the opposite of cgiInit(3).

After this routine was called, no variables, cookies, files and no additional header lines are available. The result type is also reset to "text/html".

AUTHOR

This CGI library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.

SEE ALSO

cgiInit(3), cgiDebug(3), cgiHeader(3), cgiSetHeader(3), cgiSetType(3), cgiGetValue(3), cgiGetVariables(3) cgiGetCookie(3), cgiGetCookies(3).

6 April 2008 CGI Library