9 assert(c != NULL && maxlen > 0 && bucket_size > 0);
32 size_t head = c->
head + 1;
37 return head == c->
tail;
63 assert(c != NULL && data != NULL);
73 if (next == c->
tail) {
83 assert(c != NULL && data != NULL);
int vlcb_net_packetbuf_Pop(VlcbPacketBuf *const c, void *data)
bool vlcb_net_packetbuf_IsEmpty(VlcbPacketBuf *const c)
size_t vlcb_net_packetbuf_Capacity(VlcbPacketBuf *const c)
bool vlcb_net_packetbuf_IsFull(VlcbPacketBuf *const c)
size_t vlcb_net_packetbuf_BucketSize(VlcbPacketBuf *const c)
void vlcb_net_packetbuf_Init(VlcbPacketBuf *const c, size_t maxlen, size_t bucket_size)
void vlcb_net_packetbuf_Reset(VlcbPacketBuf *const c)
int vlcb_net_packetbuf_Push(VlcbPacketBuf *const c, const void *data)