OpenVAS Scanner 21.4.1
nasl_scanner_glue.h
Go to the documentation of this file.
1/* Based on work Copyright (C) 2002 - 2003 Michel Arboi and Renaud Deraison
2 *
3 * SPDX-License-Identifier: GPL-2.0-only
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 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 St, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#ifndef NASL_SCANNER_GLUE_H
20#define NASL_SCANNER_GLUE_H
21
22#include "nasl_lex_ctxt.h"
23
26
29
32
35
38
41
44
47
50
53
56
59
62
65
68
71
74
77
80
83
86
89
92
95
98
101
102tree_cell *
104
105tree_cell *
107
108tree_cell *
110
111tree_cell *
113
114tree_cell *
116
117tree_cell *
119
120tree_cell *
122
123tree_cell *
125
126tree_cell *
128
129tree_cell *
131
132#endif
tree_cell * get_host_kb_index(lex_ctxt *)
Get the kb index of the host running the current script.
Definition: nasl_scanner_glue.c:775
tree_cell * script_get_preference_file_location(lex_ctxt *)
Definition: nasl_scanner_glue.c:587
tree_cell * get_script_oid(lex_ctxt *)
Return the OID of the current script.
Definition: nasl_scanner_glue.c:644
tree_cell * security_message(lex_ctxt *)
Send a security message to the client.
Definition: nasl_scanner_glue.c:955
tree_cell * script_timeout(lex_ctxt *)
Definition: nasl_scanner_glue.c:86
tree_cell * script_version(lex_ctxt *)
Definition: nasl_scanner_glue.c:257
tree_cell * script_xref(lex_ctxt *)
Add a cross reference to the meta data.
Definition: nasl_scanner_glue.c:166
tree_cell * set_kb_item(lex_ctxt *)
Definition: nasl_scanner_glue.c:836
tree_cell * get_kb_item(lex_ctxt *)
Definition: nasl_scanner_glue.c:723
tree_cell * error_message(lex_ctxt *)
Definition: nasl_scanner_glue.c:967
tree_cell * script_require_ports(lex_ctxt *)
Definition: nasl_scanner_glue.c:413
tree_cell * nasl_get_preference(lex_ctxt *)
Definition: nasl_scanner_glue.c:973
tree_cell * script_require_udp_ports(lex_ctxt *)
Definition: nasl_scanner_glue.c:431
tree_cell * replace_kb_item(lex_ctxt *)
Definition: nasl_scanner_glue.c:794
tree_cell * nasl_scanner_add_port(lex_ctxt *)
Definition: nasl_scanner_glue.c:1057
tree_cell * script_get_preference_file_content(lex_ctxt *)
Definition: nasl_scanner_glue.c:543
tree_cell * safe_checks(lex_ctxt *)
Definition: nasl_scanner_glue.c:626
tree_cell * script_dependencies(lex_ctxt *)
Definition: nasl_scanner_glue.c:295
tree_cell * log_message(lex_ctxt *)
Definition: nasl_scanner_glue.c:961
tree_cell * script_mandatory_keys(lex_ctxt *)
Definition: nasl_scanner_glue.c:344
tree_cell * get_kb_list(lex_ctxt *)
Definition: nasl_scanner_glue.c:662
tree_cell * script_oid(lex_ctxt *)
Definition: nasl_scanner_glue.c:99
tree_cell * script_add_preference(lex_ctxt *)
Definition: nasl_scanner_glue.c:449
tree_cell * script_tag(lex_ctxt *)
Definition: nasl_scanner_glue.c:210
tree_cell * script_require_keys(lex_ctxt *)
Definition: nasl_scanner_glue.c:321
tree_cell * script_cve_id(lex_ctxt *)
Definition: nasl_scanner_glue.c:106
tree_cell * script_name(lex_ctxt *)
Definition: nasl_scanner_glue.c:250
tree_cell * script_get_preference(lex_ctxt *)
Get a preferences of the current script.
Definition: nasl_scanner_glue.c:506
tree_cell * script_bugtraq_id(lex_ctxt *)
Definition: nasl_scanner_glue.c:122
tree_cell * script_category(lex_ctxt *)
Definition: nasl_scanner_glue.c:271
tree_cell * nasl_scanner_status(lex_ctxt *)
Definition: nasl_scanner_glue.c:1073
tree_cell * script_copyright(lex_ctxt *)
Definition: nasl_scanner_glue.c:264
tree_cell * nasl_scanner_get_port(lex_ctxt *)
Definition: nasl_scanner_glue.c:1017
tree_cell * script_exclude_keys(lex_ctxt *)
Definition: nasl_scanner_glue.c:390
tree_cell * nasl_vendor_version(lex_ctxt *)
Definition: nasl_scanner_glue.c:996
tree_cell * script_family(lex_ctxt *)
Definition: nasl_scanner_glue.c:288
Definition: nasl_tree.h:105
Definition: nasl_lex_ctxt.h:34