32 #include <gnutls/gnutls.h> 33 #include <gvm/util/serverutils.h> 34 #include <sys/types.h> 39 #define TO_CLIENT_BUFFER_SIZE 26214400 44 #define TRUNCATE_TEXT_LENGTH 10000000 49 #define TRUNCATE_TEXT_SUFFIX "[...]\n(text truncated)" 59 manage_connection_forker_t,
65 int (*) (
const char *,
void *),
char to_client[]
Buffer of output to the client.
Definition: gmp.c:4815
void init_gmp_process(int, const gchar *, int(*)(const char *, void *), void *, gchar **)
Initialise GMP library data for a process.
Definition: gmp.c:30219
int init_gmp(GSList *, int, const gchar *, int, int, int, int, manage_connection_forker_t, int)
Initialise GMP library.
Definition: gmp.c:30190
buffer_size_t to_client_start
The start of the data in the to_client buffer.
Definition: gmp.c:4820
int process_gmp_client_input()
Process any XML available in from_client.
Definition: gmp.c:30273
int process_gmp_change()
Deal with any changes caused by other processes.
Definition: gmp.c:30476
buffer_size_t to_client_end
The end of the data in the to_client buffer.
Definition: gmp.c:4824