1 .\" cgiInit - Initializes cgi library
2 .\" Copyright (c) 1998 Martin Schulze <joey@infodrom.north.de>
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.
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.
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.
18 .TH cgiInit 3 "14 February 1998" "Debian GNU/Linux" "Programmer's Manual"
20 cgiInit \- Initializes cgi library
25 .BI "char *cgiGetValue(s_cgi **" parms ", const char *" var );
28 This routine returns a pointer to the value of a cgi variable.
29 Encoded characters (%nn) are already decoded. One must not free the
34 fields are used (i.e. a variable that may contain several values) the
35 value returned contains all these values concatenated together with a
36 newline character as separator.
39 On success a pointer to a string is returned. If the variable wasn't
40 transmitted through CGI or was empty NULL is returned.
43 This cgi library is written by Martin Schulze
44 <joey@infodrom.north.de>. If you have additions or improvements
45 please get in touch with him.