#include <stdbool.h>
#include <stddef.h>
#include "packet/vlcb.h"
#include "vlcb/net/addr.h"
#include "vlcb/platform/interface.h"
Go to the source code of this file.
|
vlcb_error | vlcb_net_sock_ProcessErrToStr (VlcbNetSocketProcessErr err) |
|
vlcb_error | vlcb_net_sock_DispatchErrToStr (VlcbNetSocketDispatchErr err) |
|
| _INTERFACE_DECLARE (IVlcbNetSocket, _INTERFACE_METHOD_DECLARE(bool, SupportsProtocol, VlcbNetProtocol protocol);_INTERFACE_METHOD_DECLARE(VlcbNetSocketProcessErr, ProcessPacket, _INTERFACE_SELF_PTR_MUT(IVlcbNetSocket), const VlcbNetPacket *const packet);_INTERFACE_METHOD_DECLARE(VlcbNetSocketDispatchErr, DispatchPacket, _INTERFACE_SELF_PTR_MUT(IVlcbNetSocket), VlcbNetPacket *const packet);) |
|
VlcbNetSocketList | vlcb_net_sock_list_New (VlcbNetSocketHandle *const buf, 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_NET_SOCK_LIST
#define VLCB_NET_SOCK_LIST |
( |
| name, |
|
|
| size ) |
Value:
VlcbNetSocketList vlcb_net_sock_list_New(VlcbNetSocketHandle *const buf, size_t size)
IVlcbNetSocket * VlcbNetSocketHandle
Definition at line 52 of file socket.h.
◆ VlcbNetSocketHandle
◆ VlcbNetSocketDispatchErr
Enumerator |
---|
VLCB_NET_SOCK_DISP_ERR_OK | |
VLCB_NET_SOCK_DISP_ERR_WOULD_BLOCK | |
VLCB_NET_SOCK_DISP_ERR_COUNT | |
Definition at line 21 of file socket.h.
◆ VlcbNetSocketProcessErr
Enumerator |
---|
VLCB_NET_SOCK_PROC_ERR_OK | |
VLCB_NET_SOCK_PROC_ERR_RX_BUF_FULL | |
VLCB_NET_SOCK_PROC_ERR_PAYLOAD_TOO_LARGE | |
VLCB_NET_SOCK_PROC_ERR_UNKNOWN | |
VLCB_NET_SOCK_PROC_ERR_COUNT | |
Definition at line 10 of file socket.h.
◆ _INTERFACE_DECLARE()
◆ vlcb_net_sock_DispatchErrToStr()
◆ vlcb_net_sock_list_GetIterator()
◆ vlcb_net_sock_list_Insert()
◆ vlcb_net_sock_list_iter_HasNext()
◆ vlcb_net_sock_list_iter_Next()
◆ vlcb_net_sock_list_iter_Reset()
◆ vlcb_net_sock_list_New()
◆ vlcb_net_sock_ProcessErrToStr()