"Fossies" - the Fresh Open Source Software Archive 
Member "cgiwrap-4.1/debug.h" (16 Jun 2008, 1366 Bytes) of package /linux/www/old/cgiwrap-4.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /*
2 * CGIWrap is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * CGIWrap is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with CGIWrap; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
15 *
16 * Copyright 2003-2005, Nathan Neulinger <nneul@neulinger.org>
17 *
18 */
19
20 /* rcsid: $Id: debug.h 306 2008-06-13 14:02:02Z nneul $ */
21
22 /**
23 ** File: debug.h
24 ** Purpose: Prototypes and defines for routines in debug.c
25 **/
26
27 void DEBUG_Msg (char *msg);
28 void DEBUG_Str (char *msg, char *var);
29 void DEBUG_StrStr (char *msg, char *var, char *var2);
30 void DEBUG_Int (char *msg, int var);
31 /*
32 * Print an executable's path & argument array before making an execv call.
33 */
34 void DEBUG_Exec(char *path, char **argv);
35
36 extern int CONF_DEBUG;
37
38 #if 0
39 #define DEBUG_printf(X) if (CONF_DEBUG) { printf(X); }
40 #endif
41
42 #define NullCheck(s) ( (s) ? (s) : ("<NULL>") )