OpenVAS Scanner
5.1.3
|
#include <openvas/misc/arglists.h>
Go to the source code of this file.
Functions | |
int | comm_init (int) |
Initializes the communication between the scanner (us) and the client. More... | |
int | comm_loading (int) |
Informs the client that the scanner is still loading. More... | |
void | comm_terminate (int) |
This function must be called at the end of a session. More... | |
void | comm_send_preferences (int) |
Sends the preferences of the scanner. More... | |
int | comm_wait_order (struct arglist *) |
This function waits for the attack order of the client. Meanwhile, it processes all the messages the client could send. More... | |
void | comm_send_nvt_info (int) |
Send the OTP NVT_INFO message and then handle any COMPLETE_LIST. More... | |
void | send_plug_info (int, const char *) |
Sends a plugin info. More... | |
int comm_init | ( | int | soc | ) |
Initializes the communication between the scanner (us) and the client.
Definition at line 57 of file comm.c.
References log_write().
int comm_loading | ( | int | soc | ) |
Informs the client that the scanner is still loading.
[in] | soc | Socket to send and receive from. |
Definition at line 89 of file comm.c.
References current_loading_plugins(), log_write(), and total_loading_plugins().
void comm_send_nvt_info | ( | int | ) |
Send the OTP NVT_INFO message and then handle any COMPLETE_LIST.
Definition at line 395 of file comm.c.
void comm_send_preferences | ( | int | soc | ) |
Sends the preferences of the scanner.
soc | Socket to use for sending. |
Definition at line 279 of file comm.c.
References is_scanner_only_pref(), send_plugins_preferences(), and send_printf().
void comm_terminate | ( | int | ) |
This function must be called at the end of a session.
Definition at line 146 of file comm.c.
References send_printf().
int comm_wait_order | ( | struct arglist * | ) |
This function waits for the attack order of the client. Meanwhile, it processes all the messages the client could send.
Definition at line 303 of file comm.c.
References log_write().
void send_plug_info | ( | int | , |
const char * | |||
) |
Sends a plugin info.
Definition at line 164 of file comm.c.
References log_write(), and send_printf().
Referenced by comm_send_pluginlist().