MOS Source Code
Loading...
Searching...
No Matches
ipc_io.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-3.0-or-later
2
3#pragma once
4
5#include "mos/io/io.h"
6#include "mos/ipc/ipc.h"
8
9typedef struct
10{
14
23io_t *ipc_create(const char *name, size_t max_pending_connections);
24
30io_t *ipc_accept(io_t *server);
31
38io_t *ipc_connect(const char *name, size_t buffer_size);
39
47ipc_conn_io_t *ipc_conn_io_create(ipc_t *ipc, bool is_server_side);
ipc_conn_io_t * ipc_conn_io_create(ipc_t *ipc, bool is_server_side)
Create a new IPC connection io descriptor.
Definition ipc_io.c:96
io_t * ipc_connect(const char *name, size_t buffer_size)
Connect to an IPC servers.
Definition ipc_io.c:138
io_t * ipc_accept(io_t *server)
Accept a new connection on an IPC server.
Definition ipc_io.c:121
io_t * ipc_create(const char *name, size_t max_pending_connections)
Create a new IPC server.
Definition ipc_io.c:106
const char * name
Definition slab.c:31
Definition io.h:46
ipc_t * ipc
Definition ipc_io.h:12
Definition ipc.c:30