diff options
author | Robby Zambito <contact@robbyzambito.me> | 2025-04-23 07:31:38 -0400 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2025-04-26 09:47:07 -0400 |
commit | a1b3c07f0e59f3f56ae76fe4a43df3170ac78606 (patch) | |
tree | ca907c59a7c1ed05575b0d69b9be3ebd7186ebf6 /include/zaprus.h | |
parent | b619d86665f351f143f10dfca16eeb357bb78be0 (diff) |
Convert from Zig struct to C struct
Diffstat (limited to 'include/zaprus.h')
-rw-r--r-- | include/zaprus.h | 2 |
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; }; |