OpenVAS Libraries  9.0.1
nasl_debug.h
Go to the documentation of this file.
1 /* Nessus Attack Scripting Language
2  *
3  * Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2,
7  * as published by the Free Software Foundation
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef NASL_DEBUG_H__
20 #define NASL_DEBUG_H__
21 
22 void nasl_perror (lex_ctxt *, char *, ...);
23 void nasl_trace (lex_ctxt *, char *, ...);
24 int nasl_trace_enabled (void);
25 
26 #endif
void nasl_trace(lex_ctxt *, char *,...)
Prints debug message in printf fashion to nasl_trace_fp if it exists.
Definition: nasl_debug.c:88
int nasl_trace_enabled(void)
Checks if the nasl_trace_fp is set.
Definition: nasl_debug.c:74
Definition: nasl_lex_ctxt.h:31
void nasl_perror(lex_ctxt *, char *,...)
Definition: nasl_debug.c:40