|
OpenVAS Scanner
22.7.9
|


Go to the source code of this file.
Data Structures | |
| struct | naslctxt |
Functions | |
| int | init_nasl_ctx (naslctxt *, const char *) |
| Initialize a NASL context for a NASL file. More... | |
| void | nasl_clean_ctx (naslctxt *) |
| int init_nasl_ctx | ( | naslctxt * | pc, |
| const char * | name | ||
| ) |
Initialize a NASL context for a NASL file.
| pc | The NASL context handler. |
| name | The filename of the NASL script. |
Definition at line 2684 of file nasl_grammar.tab.c.
References add_nasl_inc_dir(), naslctxt::always_signed, naslctxt::buffer, checksum_algorithm, naslctxt::exec_descr, file_checksum(), inc_dirs, naslctxt::include_order, include_order, naslctxt::kb, naslctxt::line_nb, load_checksums(), naslctxt::name, name, nasl_set_filename(), parse_buffer, parse_len, and naslctxt::tree.
Referenced by exec_nasl_script(), and yyparse().


| void nasl_clean_ctx | ( | naslctxt * | ) |
Definition at line 2796 of file nasl_grammar.tab.c.
References naslctxt::buffer, deref_cell(), and naslctxt::tree.
Referenced by exec_nasl_script().

