26 #ifndef OPENVAS_MANAGER_OMP_H
27 #define OPENVAS_MANAGER_OMP_H
30 #include <openvas/misc/openvas_server.h>
32 #include <gnutls/gnutls.h>
33 #include <sys/types.h>
38 #define TO_CLIENT_BUFFER_SIZE 26214400
41 init_omp (GSList*,
int,
const gchar*,
int,
int,
int,
int,
void (*) (),
42 int (*) (openvas_connection_t *, gchar*),
int init_omp(GSList *log_config, int nvt_cache_mode, const gchar *database, int max_ips_per_target, int max_email_attachment_size, int max_email_include_size, int max_email_message_size, void(*progress)(), int(*fork_connection)(openvas_connection_t *, gchar *), int skip_db_check)
Initialise OMP library.
void init_omp_process(int update_nvt_cache, const gchar *database, int(*write_to_client)(const char *, void *), void *write_to_client_data, gchar **disable)
Initialise OMP library data for a process.
int process_omp_change()
Deal with any changes caused by other processes.
buffer_size_t to_client_start
The start of the data in the to_client buffer.
int process_omp_client_input()
Process any XML available in from_client.
char to_client[TO_CLIENT_BUFFER_SIZE]
Buffer of output to the client.
buffer_size_t to_client_end
The end of the data in the to_client buffer.
unsigned int buffer_size_t