13#ifndef OPENVAS_PROCESSES_H
14#define OPENVAS_PROCESSES_H
void(* ipc_process_func)(struct ipc_context *, void *)
const struct ipc_contexts * procs_get_ipc_contexts(void)
returns ipc_contexts.
int procs_cleanup_children(void)
iterates through ipcc and verify if a child is stopped or killed to free the file handler.
void procs_terminate_childs(void)
This function terminates all processes spawned with create_process. Calls terminate_child for each pr...
int terminate_process(pid_t pid)
Terminates a given process. If termination does not work, the process will get killed....
void(* process_func_t)(void *)
pid_t create_ipc_process(ipc_process_func func, void *args)
initializes a communication channels and calls a function with a new process