. cgiDebug() und cgiDebugLevel eingefuehrt
[infodrom/cgilib] / cgiDebug.3
1 .\" cgiDebug - Set the debug level for cgi programming
2 .\" Copyright (c) 1998  Martin Schulze <joey@infodrom.north.de>
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 cgiDebug 3 "14 February 1998" "Debian GNU/Linux" "Programmer's Manual"
19 .SH NAME
20 cgiDebug \- Set the debug level for cgi programming
21 .SH SYNOPSYS
22 .nf
23 .B #include <cgi.h>
24 .sp
25 .BI "void cgiDebug(int " level ", int " where );
26 .fi
27 .SH DESCRIPTION
28 This routine controls debugging for the cgi library.  At the moment
29 only level 0 (default, no debugging) and 1 (debugging enabled) are
30 supported.  The second argument
31 .I where
32 specifies if debug output should be written to stdout using HTML (1)
33 or to stderr as plain text (0).
34
35 This shoud be the first one called from the cgi library.
36 .SH "RETURN VALUE"
37 .BR cgiDebug ()
38 does not return a value.
39
40 .SH "AUTHOR"
41 This cgi library is written by Martin Schulze
42 <joey@infodrom.north.de>.  If you have additions or improvements
43 please get in touch with him.
44
45 .SH "SEE ALSO"
46 .BR cgiInit (3),
47 .BR cgiHeader (3),
48 .BR cgiGetValue (3).