aboutsummaryrefslogtreecommitdiff
path: root/proto/puzbusv1.h
diff options
context:
space:
mode:
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
}