diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-18 20:11:44 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-18 20:11:44 +0200 |
commit | 1152ec32b6086c153dc41da59c9c451aa4465995 (patch) | |
tree | de696dc61a4566a75b4df1df907cb1a2da25bd82 /proto/puzbusv1.h | |
parent | cddfbb715d6f4f9d022d383ab8737b6af57a1d6f (diff) |
WIP send/receive w/ msgpack
Diffstat (limited to 'proto/puzbusv1.h')
-rw-r--r-- | proto/puzbusv1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/puzbusv1.h b/proto/puzbusv1.h index 071c887..116dbf9 100644 --- a/proto/puzbusv1.h +++ b/proto/puzbusv1.h @@ -14,7 +14,7 @@ struct pb_msg { }; int pb_read(struct pb_msg* target, char* buf, size_t buf_sz); -void pb_free(struct pb_msg* msg); +int pb_write(struct pb_msg* target, char** buf, size_t* buf_sz); #ifdef __cplusplus } |