OpenVAS Libraries
9.0.3
|
#include <glib.h>
#include "nasl_func.h"
#include "nasl_tree.h"
#include "nasl_var.h"
#include "nasl_global_ctxt.h"
#include "nasl_lex_ctxt.h"
Go to the source code of this file.
Functions | |
lex_ctxt * | init_empty_lex_ctxt () |
void | free_lex_ctxt (lex_ctxt *c) |
void | dump_ctxt (lex_ctxt *c) |
void dump_ctxt | ( | lex_ctxt * | c | ) |
Definition at line 64 of file nasl_lex_ctxt.c.
References struct_lex_ctxt::ctx_vars, struct_lex_ctxt::fct_ctxt, st_nasl_func::func_name, FUNC_NAME_HASH, struct_lex_ctxt::functions, st_nasl_array::hash_elt, nasl_dump_tree(), st_nasl_func::next_func, st_n_nasl_var::next_var, struct_lex_ctxt::ret_val, struct_lex_ctxt::up_ctxt, st_n_nasl_var::var_name, and VAR_NAME_HASH.
Referenced by nasl_dump_ctxt().
void free_lex_ctxt | ( | lex_ctxt * | c | ) |
Definition at line 46 of file nasl_lex_ctxt.c.
References struct_lex_ctxt::ctx_vars, deref_cell(), free_array(), free_func_chain(), FUNC_NAME_HASH, struct_lex_ctxt::functions, struct_lex_ctxt::ret_val, and struct_lex_ctxt::up_ctxt.
Referenced by exec_nasl_script().
lex_ctxt* init_empty_lex_ctxt | ( | void | ) |
Definition at line 29 of file nasl_lex_ctxt.c.
References struct_lex_ctxt::ctx_vars, struct_lex_ctxt::fct_ctxt, FUNC_NAME_HASH, struct_lex_ctxt::functions, st_nasl_array::hash_elt, st_nasl_array::max_idx, st_nasl_array::num_elt, struct_lex_ctxt::oid, struct_lex_ctxt::ret_val, and VAR_NAME_HASH.
Referenced by exec_nasl_script(), and nasl_func_call().