OpenVAS Libraries  8.0.3
Functions
nasl_debug.h File Reference

Go to the source code of this file.

Functions

void nasl_perror (lex_ctxt *, char *,...)
 
void nasl_trace (lex_ctxt *, char *,...)
 Prints debug message in printf fashion to nasl_trace_fp if it exists. More...
 
int nasl_trace_enabled (void)
 Checks if the nasl_trace_fp is set. More...
 

Function Documentation

void nasl_perror ( lex_ctxt ,
char *  ,
  ... 
)
Todo:
Enable this when the NVTs are ready. Sends ERRMSG to client.
void nasl_trace ( lex_ctxt lexic,
char *  msg,
  ... 
)

Prints debug message in printf fashion to nasl_trace_fp if it exists.

Like nasl_perror, but to the nasl_trace_fp.

int nasl_trace_enabled ( void  )

Checks if the nasl_trace_fp is set.

Returns
0 if nasl_trace_fp == NULL, 1 otherwise.