cgiInit(3)

NAME
cgiInit - Initializes cgi library

SYNOPSYS
#include <cgi.h>

s_cgi **cgiInit();

DESCRIPTION
This routine initializes the cgi routines. Mainly it reads in and decodes cgi data for later processing. If the program is not called via cgi interface the user is prompted to type in cgi variable bindings via stdin - just like GGI.pm does. This routine normally is the first or second. Only cgiDebug() may be called before. If debugging is enabled this routine produces some additional output.

RETURN VALUE
On success a set of cgi variable bindings is returned that is needed for later processing. If an error occurs NULL is returned.

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

SEE ALSO
cgiDebug(3), cgiHeader(3), cgiGetValue(3).