OpenVAS Scanner
6.0.1
|
#include "../misc/scanneraux.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... | |
int | comm_wait_order (struct scan_globals *) |
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... | |
comm.c header.
int comm_init | ( | int | soc | ) |
Initializes the communication between the scanner (us) and the client.
int comm_loading | ( | int | soc | ) |
Informs the client that the scanner is still loading.
[in] | soc | Socket to send and receive from. |
void comm_send_nvt_info | ( | int | ) |
Send the OTP NVT_INFO message and then handle any COMPLETE_LIST.
void comm_terminate | ( | int | ) |
This function must be called at the end of a session.
int comm_wait_order | ( | struct scan_globals * | ) |
This function waits for the attack order of the client. Meanwhile, it processes all the messages the client could send.
void send_plug_info | ( | int | , |
const char * | |||
) |
Sends a plugin info.