diff options
author | Robby Zambito <contact@robbyzambito.me> | 2025-04-23 07:31:38 -0400 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2025-04-27 16:18:48 -0400 |
commit | ef33d2aec8c9cfdf4e3562d2f932a2636567d768 (patch) | |
tree | aaab72b05fcc58849a877c6ae9b65f2916fc0041 /include/zaprus.h | |
parent | 733deeb6e15bde938dc6449933a362644c7aa2ca (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; }; |