|
OpenVAS Scanner 23.23.1
|
#include "ipc_pipe.h"#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/wait.h>#include <unistd.h>Macros | |
| #define | IPC_MAX_BUFFER 4096 |
Functions | |
| int | ipc_pipe_send (struct ipc_pipe_context *context, const char *msg, int len) |
| sends given msg via the given context. Do not use this method directly, use ipc_send of ipc.h instead. | |
| char * | ipc_pipe_retrieve (struct ipc_pipe_context *context) |
| retrieves message from the given context. Do not use this method directly, use ipc_retrieve of ipc.h instead. | |
| int | ipc_pipe_close (struct ipc_pipe_context *context) |
| closes given context. Do not use this method directly, use ipc_close of ipc.h instead. | |
| int | ipc_pipe_destroy (struct ipc_pipe_context *context) |
| destroys given context. Do not use this method directly, use ipc_destroy of ipc.h instead. | |
| struct ipc_pipe_context * | ipc_init_pipe (void) |
| initializes a new context. Do not use this method directly, use ipc_init of ipc.h instead. | |
| #define IPC_MAX_BUFFER 4096 |
| struct ipc_pipe_context * ipc_init_pipe | ( | void | ) |
initializes a new context. Do not use this method directly, use ipc_init of ipc.h instead.
| int ipc_pipe_close | ( | struct ipc_pipe_context * | context | ) |
closes given context. Do not use this method directly, use ipc_close of ipc.h instead.
| context | the ipc_pipe_context to be closed. |
| int ipc_pipe_destroy | ( | struct ipc_pipe_context * | context | ) |
destroys given context. Do not use this method directly, use ipc_destroy of ipc.h instead.
| context | the ipc_pipe_context to be destroyed. |
| char * ipc_pipe_retrieve | ( | struct ipc_pipe_context * | context | ) |
retrieves message from the given context. Do not use this method directly, use ipc_retrieve of ipc.h instead.
| context | the ipc_pipe_context to be used; must be previously initialized via ipc_pipe_init. |
| int ipc_pipe_send | ( | struct ipc_pipe_context * | context, |
| const char * | msg, | ||
| int | len ) |
sends given msg via the given context. Do not use this method directly, use ipc_send of ipc.h instead.
| context | the ipc_pipe_context to be used; must be previously initialized via ipc_pipe_init. |
| msg | the message to send |
| len | the length of msg |