26 #ifndef OPENVAS_PLUGUTILS_H 27 #define OPENVAS_PLUGUTILS_H 31 #include "../base/nvti.h" 32 #include "../base/openvas_networking.h" 33 #include "../base/kb.h" 35 #define LEGACY_OID "1.3.6.1.4.1.25623.1.0." 73 #define post_alarm_tcp post_alarm 77 #define post_error_tcp post_error 81 #define post_log_tcp post_log void post_alarm(const char *, struct arglist *, int, const char *)
void plug_set_ssl_cert(struct arglist *, char *)
void post_log(const char *, struct arglist *, int, const char *)
Post a log message about a tcp port.
int host_get_port_state(struct arglist *, int)
void proto_post_log(const char *, struct arglist *, int, const char *, const char *)
Post a log message.
char * plug_get_host_ip_str(struct arglist *)
int host_get_port_state_udp(struct arglist *, int)
The structure of a information record that corresponds to a NVT.
void plug_set_ssl_CA_file(struct arglist *, char *)
void scanner_add_port(struct arglist *, int, char *)
char * get_plugin_preference(const char *, const char *)
void * plug_get_key(struct arglist *, char *, int *, int)
void post_alarm_udp(struct arglist *, int, const char *)
void plug_set_ssl_key(struct arglist *, char *)
struct arglist * plug_create_from_nvti_and_prefs(const nvti_t *)
long get_plugin_preference_file_size(struct arglist *, const char *)
Get the file size of a plugins preference that is of type "file".
Top-level KB. This is to be inherited by KB implementations.
void plug_set_port_transport(struct arglist *, int, int)
void plug_set_tag(struct arglist *, char *, char *)
void plug_set_xref(struct arglist *, char *, char *)
char * find_in_path(char *, int)
unsigned int plug_get_host_open_port(struct arglist *desc)
void proto_post_alarm(const char *, struct arglist *, int, const char *, const char *)
void plug_set_key(struct arglist *, char *, int, const void *)
const char * plug_get_hostname(struct arglist *)
void proto_post_error(const char *, struct arglist *, int, const char *, const char *)
struct in6_addr * plug_get_host_ip(struct arglist *)
void plug_set_dep(struct arglist *, const char *)
kb_t plug_get_kb(struct arglist *)
void post_error(const char *, struct arglist *, int, const char *)
void add_plugin_preference(struct arglist *, const char *, const char *, const char *)
char * plug_get_host_fqdn(struct arglist *)
const char * get_plugin_preference_fname(struct arglist *, const char *)
Get the file name of a plugins preference that is of type "file".
int plug_get_port_transport(struct arglist *, int)
void plug_set_ssl_pem_password(struct arglist *, char *)
void plug_replace_key(struct arglist *, char *, int, void *)
char * get_plugin_preference_file_content(struct arglist *, const char *)
Get the file contents of a plugins preference that is of type "file".