diff options
Diffstat (limited to 'lib/pbdrv/pb-msg.h')
-rw-r--r-- | lib/pbdrv/pb-msg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/pbdrv/pb-msg.h b/lib/pbdrv/pb-msg.h new file mode 100644 index 0000000..9823d57 --- /dev/null +++ b/lib/pbdrv/pb-msg.h @@ -0,0 +1,17 @@ +#pragma once + +#include "pb-types.h" +#include "pb-buf.h" + +#ifdef __cplusplus +extern "C" { +#endif + +pbdrv_buf_t pbdrv_msg_write(const pb_msg_t * msg); +pb_msg_t * pbdrv_msg_read(const pbdrv_buf_t * buf); +void pbdrv_msg_free(pb_msg_t * msg); + +#ifdef __cplusplus +} +#endif + |