MOS Source Code
|
#include <mos/types.h>
Go to the source code of this file.
Classes | |
struct | ipc_msg_t |
An IPC message. More... | |
Typedefs | |
typedef fd_t | ipcfd_t |
Functions | |
ipc_msg_t * | ipc_msg_create (size_t size) |
Create a new IPC message. | |
void | ipc_msg_destroy (ipc_msg_t *buffer) |
Destroy an IPC message. | |
ipc_msg_t * | ipc_read_msg (ipcfd_t fd) |
Read an IPC message. | |
bool | ipc_write_msg (ipcfd_t fd, ipc_msg_t *buffer) |
Write an IPC message. | |
size_t | ipc_read_as_msg (ipcfd_t fd, char *buffer, size_t buffer_size) |
bool | ipc_write_as_msg (ipcfd_t fd, const char *data, size_t size) |
Create a new IPC message.
size | The size of the message. |
Definition at line 26 of file libipc.c.
Referenced by ipc_read_msg().
Destroy an IPC message.
buffer | The message. |
Definition at line 33 of file libipc.c.
Referenced by ipc_read_msg(), rpc_call_exec(), and rpc_handle_client().
Read an IPC message.
fd | The file descriptor. |
Definition at line 38 of file libipc.c.
Referenced by rpc_call_exec(), and rpc_handle_client().
Definition at line 86 of file libipc.c.
Referenced by rpc_call_exec(), and rpc_handle_client().