![]() |
MOS Source Code
|
#include "mos/ipc/ipc_io.hpp"#include "mos/io/io.hpp"#include "mos/ipc/ipc.hpp"#include "mos/misc/panic.hpp"#include <mos/allocator.hpp>#include <mos_stdlib.hpp>Go to the source code of this file.
Classes | |
| struct | IPC_ControlIO |
| struct | ipc_server_io_t |
| struct | IpcServerIO |
| struct | IpcClientIO |
Functions | |
| PtrResult< IpcConnectionIO > | ipc_conn_io_create (IpcDescriptor *desc, bool isServerSide) |
| Create a new IPC connection io descriptor. | |
| PtrResult< IO > | ipc_create (const char *name, size_t max_pending_connections) |
| Create a new IPC server. | |
| PtrResult< IO > | ipc_accept (IO *server) |
| Accept a new connection on an IPC server. | |
| PtrResult< IO > | ipc_connect (const char *name, size_t buffer_size) |
| Connect to an IPC servers. | |
| PtrResult< IpcConnectionIO > ipc_conn_io_create | ( | IpcDescriptor * | ipc, |
| bool | is_server_side ) |
Create a new IPC connection io descriptor.
| ipc | The IPC object to create the connection for |
| is_server_side | Whether this is the server side of the connection |
Definition at line 74 of file ipc_io.cpp.
Referenced by ipc_accept(), ipc_connect(), and vfs_ipc_file_read().
Create a new IPC server.
| name | The name of the server |
| max_pending_connections | The maximum number of pending connections to allow |
Definition at line 92 of file ipc_io.cpp.
Accept a new connection on an IPC server.
| server | The server to accept a connection on |
Definition at line 109 of file ipc_io.cpp.
Referenced by ipc_accept().
Connect to an IPC servers.
| name | The name of the server to connect to |
| buffer_size | The size of a shared-memory buffer to use for the connection |
Definition at line 126 of file ipc_io.cpp.