aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/pb-write.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 17:46:26 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-13 17:46:26 +0200
commit557b995f9641f7cb7a0566eefac7e576debec61a (patch)
tree1b2b0966f6b1671e5accfe0d980ee1f370d21b58 /lib/pbdrv/pb-write.h
parentda57aaed1295d72d8d840c69c0e08c0bcab46aee (diff)
really WIP driver (de)serialization
Diffstat (limited to 'lib/pbdrv/pb-write.h')
-rw-r--r--lib/pbdrv/pb-write.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/pbdrv/pb-write.h b/lib/pbdrv/pb-write.h
index 3bd53c5..c77db47 100644
--- a/lib/pbdrv/pb-write.h
+++ b/lib/pbdrv/pb-write.h
@@ -1,18 +1,14 @@
#pragma once
+#include <mpack.h>
+
#include "pb-types.h"
#ifdef __cplusplus
extern "C" {
#endif
-pbdrv_buf_t pbdrv_write_cmd_req_read(pb_cmd_req_read_t data);
-pbdrv_buf_t pbdrv_write_cmd_res_read(pb_cmd_res_read_t data);
-pbdrv_buf_t pbdrv_write_cmd_req_write(pb_cmd_req_write_t data);
-pbdrv_buf_t pbdrv_write_cmd_req_state(pb_cmd_req_state_t data);
-pbdrv_buf_t pbdrv_write_cmd_res_state(pb_cmd_res_state_t data);
-pbdrv_buf_t pbdrv_write_cmd_req_set_state(pb_cmd_req_set_state_t data);
-pbdrv_buf_t pbdrv_write_cmd_magic(pb_cmd_magic_t data);
+pbdrv_buf_t pbdrv_write_msg(const pb_msg_t * msg);
#ifdef __cplusplus
}