Greenbone Vulnerability Manager
8.0.1~git
|
Protos for communication between gvmd and openvassd. More...
#include <glib.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
Go to the source code of this file.
Functions | |
int | send_to_server (const char *) |
Send a message to the server. More... | |
int | sendf_to_server (const char *,...) |
Format and send a message to the server. More... | |
int | sendn_to_server (const void *, size_t) |
Send a number of bytes to the server. More... | |
unsigned int | to_server_buffer_space () |
Get the number of characters free in the server output buffer. More... | |
Protos for communication between gvmd and openvassd.
This file contains the protos for comm.c
int send_to_server | ( | const char * | msg | ) |
Send a message to the server.
[in] | msg | The message, a string. |
int sendf_to_server | ( | const char * | format, |
... | |||
) |
Format and send a message to the server.
[in] | format | printf-style format string for message. |
int sendn_to_server | ( | const void * | msg, |
size_t | n | ||
) |
Send a number of bytes to the server.
[in] | msg | The message, a sequence of bytes. |
[in] | n | The number of bytes from msg to send. |
unsigned int to_server_buffer_space | ( | ) |
Get the number of characters free in the server output buffer.