aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/pb-msg.h
blob: 9823d57f540e90c36aa5fc6d7d598679c8785a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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