aboutsummaryrefslogtreecommitdiff
path: root/proto/puzbusv1.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-18 20:11:44 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-18 20:11:44 +0200
commit1152ec32b6086c153dc41da59c9c451aa4465995 (patch)
treede696dc61a4566a75b4df1df907cb1a2da25bd82 /proto/puzbusv1.h
parentcddfbb715d6f4f9d022d383ab8737b6af57a1d6f (diff)
WIP send/receive w/ msgpack
Diffstat (limited to 'proto/puzbusv1.h')
-rw-r--r--proto/puzbusv1.h2
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
}