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 18:03:06 -0400
commitd459dd60ef95f7f3167537fc2ad2919a7c04d53a (patch)
treed1baa4483ed46756127bc4eb6351372798304ae9 /include
parentce21b94a434467ba748a310604b6efd982b680ed (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;
};