|
OpenVAS Libraries
8.0.8
|
#include <stdlib.h>#include <string.h>#include <unistd.h>#include <glib.h>#include <glib/gstdio.h>#include "regex.h"#include "../misc/openvas_logging.h"#include "../misc/prefs.h"#include "../misc/plugutils.h"#include "nasl.h"#include "nasl_tree.h"#include "nasl_global_ctxt.h"#include "nasl_func.h"#include "nasl_var.h"#include "nasl_lex_ctxt.h"#include "exec.h"#include "nasl_debug.h"#include "nasl_init.h"Macros | |
| #define | _GNU_SOURCE |
| #define | NASL_DEBUG 0 |
Functions | |
| int | naslparse (naslctxt *) |
| tree_cell * | cell2atom (lex_ctxt *lexic, tree_cell *c1) |
| int | cell_cmp (lex_ctxt *lexic, tree_cell *c1, tree_cell *c2) |
| tree_cell * | nasl_exec (lex_ctxt *lexic, tree_cell *st) |
| Execute a parse tree. More... | |
| tree_cell * | nasl_lint (lex_ctxt *, tree_cell *) |
| int | exec_nasl_script (struct arglist *script_infos, const char *name, const char *oid, int mode) |
| Execute a NASL script. More... | |
Variables | |
| FILE * | nasl_trace_fp = NULL |
| lex_ctxt * | truc = NULL |
| #define _GNU_SOURCE |
| #define NASL_DEBUG 0 |
| int exec_nasl_script | ( | struct arglist * | script_infos, |
| const char * | name, | ||
| const char * | oid, | ||
| int | mode | ||
| ) |
Execute a NASL script.
"mode" is a bit field: bit #0 (1) is "description" Bit #1 (2) is "parse only"
| script_infos | The plugin as arglist. Has to be allocated. |
| name | Filename. |
| mode | Bit field describing launch mode (description, parse always signed). |
Execute a parse tree.
| int naslparse | ( | naslctxt * | ) |
| FILE* nasl_trace_fp = NULL |
| lex_ctxt* truc = NULL |
1.8.11