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