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