Hlavní navigace

cgiGetVariables

NAME

cgiGetVariables - Returns a list of CGI variables

SYNOPSYS

#include <cgi.h>
 I char **cgiGetVariables (s_cgi * parms );

DESCRIPTION

This routine returns a NULL terminated array of CGI variables that are available. To get the value of a variable you'll have to use cgiGetValue(3). To free the memory allocated use cgiFreeList(3).

RETURN VALUE

On success a NULL terminated array of strings is returned. The last element is set to NULL. If an error occurred or if no variables were available 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