VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
socket.c File Reference
#include "vlcb/net/socket.h"
#include <assert.h>
#include <stdbool.h>
Include dependency graph for socket.c:

Go to the source code of this file.

Functions

VlcbNetSocketList vlcb_net_sock_list_New (VlcbNetSocketHandle *const list, size_t size)
 
int vlcb_net_sock_list_Insert (VlcbNetSocketList *const list, VlcbNetSocketHandle sock)
 
VlcbNetSocketListIter vlcb_net_sock_list_GetIterator (const VlcbNetSocketList *const list)
 
void vlcb_net_sock_list_iter_Reset (VlcbNetSocketListIter *const iter)
 
bool vlcb_net_sock_list_iter_HasNext (VlcbNetSocketListIter *const iter)
 
VlcbNetSocketHandle vlcb_net_sock_list_iter_Next (VlcbNetSocketListIter *const iter)
 
vlcb_error vlcb_net_sock_ProcessErrToStr (VlcbNetSocketProcessErr err)
 

Function Documentation

◆ vlcb_net_sock_list_GetIterator()

VlcbNetSocketListIter vlcb_net_sock_list_GetIterator ( const VlcbNetSocketList *const list)

Definition at line 30 of file socket.c.

Here is the caller graph for this function:

◆ vlcb_net_sock_list_Insert()

int vlcb_net_sock_list_Insert ( VlcbNetSocketList *const list,
VlcbNetSocketHandle sock )

Definition at line 17 of file socket.c.

Here is the caller graph for this function:

◆ vlcb_net_sock_list_iter_HasNext()

bool vlcb_net_sock_list_iter_HasNext ( VlcbNetSocketListIter *const iter)

Definition at line 43 of file socket.c.

Here is the caller graph for this function:

◆ vlcb_net_sock_list_iter_Next()

VlcbNetSocketHandle vlcb_net_sock_list_iter_Next ( VlcbNetSocketListIter *const iter)

Definition at line 50 of file socket.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vlcb_net_sock_list_iter_Reset()

void vlcb_net_sock_list_iter_Reset ( VlcbNetSocketListIter *const iter)

Definition at line 38 of file socket.c.

◆ vlcb_net_sock_list_New()

VlcbNetSocketList vlcb_net_sock_list_New ( VlcbNetSocketHandle *const list,
size_t size )
inline

Definition at line 6 of file socket.c.

◆ vlcb_net_sock_ProcessErrToStr()

vlcb_error vlcb_net_sock_ProcessErrToStr ( VlcbNetSocketProcessErr err)

Definition at line 56 of file socket.c.

Here is the caller graph for this function: