|
PatchworkOS
10941b4
A non-POSIX operating system.
|
Local Connections. More...
Local Connections.
Local connections represents a "link" between a listener and a client socket. They provide two-way communication channels using ring buffers.
Data Structures | |
| struct | local_conn_t |
| Local Connection structure. More... | |
Functions | |
| local_conn_t * | local_conn_new (local_listen_t *listen) |
| Allocate and initialize a new local connection. | |
| void | local_conn_free (local_conn_t *conn) |
| Free and deinitialize a local connection. | |
| local_conn_t * local_conn_new | ( | local_listen_t * | listen | ) |
Allocate and initialize a new local connection.
| listen | Pointer to the local listener this connection is associated with. |
NULL and errno is set. Definition at line 12 of file local_conn.c.
| void local_conn_free | ( | local_conn_t * | conn | ) |
Free and deinitialize a local connection.
| conn | Pointer to the local connection to free. |
Definition at line 52 of file local_conn.c.