OpenVAS Scanner
7.0.1~git
|
Go to the documentation of this file.
26 #ifndef OPENVAS_PLUGUTILS_H
27 #define OPENVAS_PLUGUTILS_H
31 #include <gvm/base/nvti.h>
99 #define post_alarm_tcp post_alarm
107 #define post_error_tcp post_error
115 #define post_log_tcp post_log
void post_error(const char *, struct script_infos *, int, const char *)
long get_plugin_preference_file_size(struct script_infos *, const char *)
Get the file size of a plugins preference that is of type "file".
int host_get_port_state_udp(struct script_infos *, int)
void plug_set_ssl_CA_file(struct script_infos *, char *)
unsigned int plug_get_host_open_port(struct script_infos *desc)
void plug_set_ssl_key(struct script_infos *, char *)
const char * plug_current_vhost(void)
void post_alarm_udp(struct script_infos *, int, const char *)
void proto_post_error(const char *, struct script_infos *, int, const char *, const char *)
void post_log(const char *, struct script_infos *, int, const char *)
Post a log message about a tcp port.
char * plug_get_host_fqdn(struct script_infos *)
struct in6_addr * plug_get_host_ip(struct script_infos *)
kb_t plug_get_kb(struct script_infos *)
void plug_replace_key_len(struct script_infos *, char *, int, void *, size_t)
void plug_set_dep(struct script_infos *, const char *)
Auxiliary structures for scanner.
char * plug_get_host_ip_str(struct script_infos *)
void plug_set_ssl_cert(struct script_infos *, char *)
const char * get_plugin_preference_fname(struct script_infos *, const char *)
Get the file name of a plugins preference that is of type "file".
void plug_set_key(struct script_infos *, char *, int, const void *)
char * plug_get_host_source(struct script_infos *, const char *)
void plug_replace_key(struct script_infos *, char *, int, void *)
void * plug_get_key(struct script_infos *, char *, int *, size_t *, int)
Get values from a kb under the given key name.
void proto_post_log(const char *, struct script_infos *, int, const char *, const char *)
Post a log message.
GSList * plug_get_host_fqdn_list(struct script_infos *)
void plug_set_port_transport(struct script_infos *, int, int)
struct script_infos * plug_create_from_nvti_and_prefs(const nvti_t *)
char * get_plugin_preference(const char *, const char *, int)
Get the a plugins preference.
void post_alarm(const char *, struct script_infos *, int, const char *)
void scanner_add_port(struct script_infos *, int, char *)
int host_get_port_state(struct script_infos *, int)
void plug_set_ssl_pem_password(struct script_infos *, char *)
char * get_plugin_preference_file_content(struct script_infos *, const char *)
Get the file contents of a plugins preference that is of type "file".
void plug_set_key_len(struct script_infos *, char *, int, const void *, size_t)
int plug_get_port_transport(struct script_infos *, int)
int plug_add_host_fqdn(struct script_infos *, const char *, const char *)
void proto_post_alarm(const char *, struct script_infos *, int, const char *, const char *)