1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include <stddef.h> #ifdef __cplusplus extern "C" { #endif //! binary buffer struct typedef struct { char * data; //! pointer to data size_t size; //! size of data } pb_buf_t; void pb_buf_free(pb_buf_t * buf); #ifdef __cplusplus } #endif