OpenVAS Libraries
9.0.3
|
Go to the source code of this file.
Data Structures | |
struct | arglist |
Macros | |
#define | ARG_STRING 1 |
#define | ARG_PTR 2 |
#define | ARG_INT 3 |
#define | ARG_ARGLIST 4 |
Functions | |
void | arg_add_value (struct arglist *, const char *, int, void *) |
void | arg_prepend_value (struct arglist **, const char *, int, void *) |
int | arg_set_value (struct arglist *, const char *, void *) |
void * | arg_get_value (struct arglist *, const char *) |
int | arg_get_value_int (struct arglist *, const char *) |
int | arg_get_type (struct arglist *, const char *) |
void | arg_dump (struct arglist *, int) |
void | arg_free (struct arglist *) |
void | arg_free_all (struct arglist *) |
void | arg_del_value (struct arglist *, const char *name) |
#define ARG_ARGLIST 4 |
Definition at line 41 of file arglists.h.
Referenced by arg_dump(), and arg_free_all().
#define ARG_INT 3 |
Definition at line 40 of file arglists.h.
Referenced by arg_dump(), host_add_port_proto(), init(), nasl_start_denial(), plug_set_port_transport(), plugin_run_synscan(), replace_kb_item(), scan(), and set_kb_item().
#define ARG_PTR 2 |
Definition at line 39 of file arglists.h.
Referenced by init().
#define ARG_STRING 1 |
Definition at line 38 of file arglists.h.
Referenced by arg_dump(), arg_free_all(), exec_nasl_script(), plug_replace_key(), plug_set_key(), replace_kb_item(), and set_kb_item().
void arg_add_value | ( | struct arglist * | , |
const char * | , | ||
int | , | ||
void * | |||
) |
Definition at line 170 of file arglists.c.
References arglist::name, and arglist::next.
Referenced by exec_nasl_script(), init(), and nasl_start_denial().
void arg_del_value | ( | struct arglist * | , |
const char * | name | ||
) |
Definition at line 358 of file arglists.c.
void arg_dump | ( | struct arglist * | , |
int | |||
) |
Definition at line 280 of file arglists.c.
References ARG_ARGLIST, arg_dump(), ARG_INT, ARG_STRING, log_legacy_write(), arglist::name, arglist::next, arglist::type, and arglist::value.
Referenced by arg_dump(), and open_sock_option().
void arg_free | ( | struct arglist * | ) |
void arg_free_all | ( | struct arglist * | ) |
Definition at line 336 of file arglists.c.
References ARG_ARGLIST, arg_free_all(), ARG_STRING, arglist::next, arglist::type, and arglist::value.
Referenced by arg_free_all().
int arg_get_type | ( | struct arglist * | , |
const char * | |||
) |
Definition at line 268 of file arglists.c.
void* arg_get_value | ( | struct arglist * | , |
const char * | |||
) |
Definition at line 252 of file arglists.c.
Referenced by add_plugin_preference(), arg_get_value_int(), exec_nasl_script(), get_plugin_preference_file_content(), get_plugin_preference_file_size(), nasl_perror(), nasl_start_denial(), nasl_trace(), network_targets(), plug_get_host_fqdn(), plug_get_host_ip(), plug_get_hostname(), plug_get_kb(), plug_set_dep(), plug_set_tag(), plug_set_xref(), plugin_run_find_service(), plugin_run_openvas_tcp_scanner(), plugin_run_synscan(), scan_phase(), script_bugtraq_id(), script_category(), script_copyright(), script_cve_id(), script_exclude_keys(), script_family(), script_id(), script_mandatory_keys(), script_name(), script_oid(), script_require_keys(), script_require_ports(), script_require_udp_ports(), script_timeout(), and script_version().
int arg_get_value_int | ( | struct arglist * | , |
const char * | |||
) |
Definition at line 246 of file arglists.c.
References arg_get_value(), and name.
Referenced by nasl_end_denial(), and plugin_run_find_service().
void arg_prepend_value | ( | struct arglist ** | , |
const char * | , | ||
int | , | ||
void * | |||
) |
Definition at line 189 of file arglists.c.
int arg_set_value | ( | struct arglist * | , |
const char * | , | ||
void * | |||
) |
Definition at line 225 of file arglists.c.
References name.
Referenced by exec_nasl_script(), and nasl_start_denial().