summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2025-04-23 07:31:38 -0400
committerRobby Zambito <contact@robbyzambito.me>2025-04-27 16:18:48 -0400
commitef33d2aec8c9cfdf4e3562d2f932a2636567d768 (patch)
treeaaab72b05fcc58849a877c6ae9b65f2916fc0041 /include
parent733deeb6e15bde938dc6449933a362644c7aa2ca (diff)
Convert from Zig struct to C struct
Diffstat (limited to 'include')
-rw-r--r--include/zaprus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zaprus.h b/include/zaprus.h
index b442753..6856a5e 100644
--- a/include/zaprus.h
+++ b/include/zaprus.h
@@ -25,6 +25,7 @@ struct SaprusMessage {
struct {
char dest[4];
};
+ size_t payload_len;
char *payload;
} relay;
struct {
@@ -36,6 +37,7 @@ struct SaprusMessage {
char _reserved;
char options;
};
+ size_t payload_len;
char *payload;
} connection;
};