puzzlebox
Loading...
Searching...
No Matches
pb-buf.h
1#pragma once
2
3#include "pb-types.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
18typedef struct {
19 char * data;
20 size_t size;
21} pb_buf_t;
22
29void pb_buf_free(pb_buf_t * buf);
30
32
33#ifdef __cplusplus
34}
35#endif
void pb_buf_free(pb_buf_t *buf)
free a pb_buf_t
Definition pb-buf.c:4
binary buffer struct
Definition pb-buf.h:18
char * data
pointer to data
Definition pb-buf.h:19
size_t size
size of data
Definition pb-buf.h:20