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

Go to the source code of this file.

Functions

VlcbNetProtocol vlcb_net_pkt_DetectProtocol (VlcbOpCode opc)
 
vlcb_error vlcb_net_pkt_ConstructErrToStr (VlcbNetPacketConstructErr err)
 
void vlcb_net_pkt_NewUnchecked (VlcbNetProtocol proto, VlcbOpCode opc, uint8_t payload_len, const VlcbNetPayload *const payload, VlcbNetPacket *const packet)
 
VlcbNetPacketConstructErr vlcb_net_pkt_New (VlcbOpCode opc, uint8_t payload_len, const VlcbNetPayload *const payload, VlcbNetPacket *const packet)
 

Function Documentation

◆ vlcb_net_pkt_ConstructErrToStr()

vlcb_error vlcb_net_pkt_ConstructErrToStr ( VlcbNetPacketConstructErr err)

Definition at line 15 of file vlcb.c.

Here is the caller graph for this function:

◆ vlcb_net_pkt_DetectProtocol()

VlcbNetProtocol vlcb_net_pkt_DetectProtocol ( VlcbOpCode opc)

Definition at line 6 of file vlcb.c.

Here is the caller graph for this function:

◆ vlcb_net_pkt_New()

VlcbNetPacketConstructErr vlcb_net_pkt_New ( VlcbOpCode opc,
uint8_t payload_len,
const VlcbNetPayload *const payload,
VlcbNetPacket *const packet )

Definition at line 35 of file vlcb.c.

Here is the caller graph for this function:

◆ vlcb_net_pkt_NewUnchecked()

void vlcb_net_pkt_NewUnchecked ( VlcbNetProtocol proto,
VlcbOpCode opc,
uint8_t payload_len,
const VlcbNetPayload *const payload,
VlcbNetPacket *const packet )

Definition at line 28 of file vlcb.c.

Here is the caller graph for this function: