MOS Source Code
Loading...
Searching...
No Matches
ipc.h File Reference
#include <stddef.h>
+ Include dependency graph for ipc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _ipc ipc_t
 
typedef struct _ipc_server ipc_server_t
 

Functions

void ipc_init (void)
 
ipc_server_tipc_server_create (const char *name, size_t max_pending_connections)
 
ipc_server_tipc_get_server (const char *name)
 
ipc_tipc_server_accept (ipc_server_t *server)
 
void ipc_server_close (ipc_server_t *server)
 
ipc_tipc_connect_to_server (const char *name, size_t buffer_size)
 
size_t ipc_client_read (ipc_t *ipc, void *buffer, size_t size)
 
size_t ipc_client_write (ipc_t *ipc, const void *buffer, size_t size)
 
size_t ipc_server_read (ipc_t *ipc, void *buffer, size_t size)
 
size_t ipc_server_write (ipc_t *ipc, const void *buffer, size_t size)
 
void ipc_client_close_channel (ipc_t *ipc)
 
void ipc_server_close_channel (ipc_t *ipc)
 

Typedef Documentation

◆ ipc_t

typedef struct _ipc ipc_t

Definition at line 7 of file ipc.h.

◆ ipc_server_t

typedef struct _ipc_server ipc_server_t

Definition at line 8 of file ipc.h.

Function Documentation

◆ ipc_init()

void ipc_init ( void )

Definition at line 170 of file ipc.c.

Referenced by mos_start_kernel().

+ Here is the call graph for this function:

◆ ipc_server_create()

ipc_server_t * ipc_server_create ( const char * name,
size_t max_pending_connections )

Definition at line 177 of file ipc.c.

Referenced by ipc_create(), and ipc_sysfs_create_server().

+ Here is the call graph for this function:

◆ ipc_get_server()

ipc_server_t * ipc_get_server ( const char * name)

Definition at line 220 of file ipc.c.

Referenced by vfs_open_ipc().

+ Here is the call graph for this function:

◆ ipc_server_accept()

ipc_t * ipc_server_accept ( ipc_server_t * server)

Definition at line 236 of file ipc.c.

Referenced by ipc_accept(), and vfs_ipc_file_read().

+ Here is the call graph for this function:

◆ ipc_server_close()

void ipc_server_close ( ipc_server_t * server)

Definition at line 73 of file ipc.c.

Referenced by ipc_control_io_close(), and vfs_ipc_file_release().

+ Here is the call graph for this function:

◆ ipc_connect_to_server()

ipc_t * ipc_connect_to_server ( const char * name,
size_t buffer_size )

Definition at line 291 of file ipc.c.

Referenced by ipc_connect(), and vfs_open_ipc().

+ Here is the call graph for this function:

◆ ipc_client_read()

size_t ipc_client_read ( ipc_t * ipc,
void * buffer,
size_t size )

Definition at line 120 of file ipc.c.

Referenced by ipc_client_io_read(), and vfs_ipc_file_read().

+ Here is the call graph for this function:

◆ ipc_client_write()

size_t ipc_client_write ( ipc_t * ipc,
const void * buffer,
size_t size )

Definition at line 125 of file ipc.c.

Referenced by ipc_client_io_write(), and vfs_ipc_file_write().

+ Here is the call graph for this function:

◆ ipc_server_read()

size_t ipc_server_read ( ipc_t * ipc,
void * buffer,
size_t size )

Definition at line 130 of file ipc.c.

Referenced by ipc_server_io_read().

+ Here is the call graph for this function:

◆ ipc_server_write()

size_t ipc_server_write ( ipc_t * ipc,
const void * buffer,
size_t size )

Definition at line 135 of file ipc.c.

Referenced by ipc_server_io_write().

+ Here is the call graph for this function:

◆ ipc_client_close_channel()

void ipc_client_close_channel ( ipc_t * ipc)

Definition at line 140 of file ipc.c.

Referenced by ipc_client_io_close(), and vfs_ipc_file_release().

+ Here is the call graph for this function:

◆ ipc_server_close_channel()

void ipc_server_close_channel ( ipc_t * ipc)

Definition at line 155 of file ipc.c.

Referenced by ipc_server_io_close().

+ Here is the call graph for this function: