aboutsummaryrefslogtreecommitdiff
path: root/proto/puzbusv1.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-18 15:08:20 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-18 15:08:20 +0200
commitcddfbb715d6f4f9d022d383ab8737b6af57a1d6f (patch)
treed05b08c75f30949c8dfcd8caf6973e6b9cb352ec /proto/puzbusv1.c
parent573643a1d3220830de47c810cb1a6be629ce7abd (diff)
cmake build config for mpack
Diffstat (limited to 'proto/puzbusv1.c')
-rw-r--r--proto/puzbusv1.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/proto/puzbusv1.c b/proto/puzbusv1.c
new file mode 100644
index 0000000..9d1335e
--- /dev/null
+++ b/proto/puzbusv1.c
@@ -0,0 +1,13 @@
+#include <mpack.h>
+
+#include "puzbusv1.h"
+
+int pb_read(struct pb_msg* target, char* buf, size_t buf_sz) {
+ mpack_reader_t reader;
+
+ return 0;
+}
+
+void pb_free(struct pb_msg* msg);
+
+