void wait_queue_init(wait_queue_t *queue)
Initialize wait queue.
static void lock_init(lock_t *lock)
Initializes a lock.
static void fifo_init(fifo_t *fifo, uint8_t *buffer, size_t size)
Initialize a fifo buffer.
#define REF(ptr)
Increment reference count.
static void ref_init(ref_t *ref, void *callback)
Initialize a reference counter.
#define UNREF(ptr)
Decrement reference count.
#define EINVAL
Invalid argument.
#define errno
Error number variable.
static void list_entry_init(list_entry_t *entry)
Initializes a list entry.
#define NULL
Pointer error value.
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.
#define LOCAL_BUFFER_SIZE
The size of local sockets buffer.
_PUBLIC void * malloc(size_t size)
_PUBLIC void free(void *ptr)
Local Connection structure.
void * clientToServerBuffer
void * serverToClientBuffer
Local Listener structure.