From a1b3c07f0e59f3f56ae76fe4a43df3170ac78606 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Wed, 23 Apr 2025 07:31:38 -0400 Subject: Convert from Zig struct to C struct --- include/zaprus.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; }; -- cgit