diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-28 09:57:50 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-28 09:57:50 +0200 |
commit | 1cac46e7701ef2783aea13d55261582f4d91f2fa (patch) | |
tree | abcd22854d5a9c5303cccc5ba1ccca73e7b8bbbf /shared/protocol.h | |
parent | 89e652af2506f7cf7854ce2e6f5b9b97423d1d40 (diff) |
working janky protocol!
Diffstat (limited to 'shared/protocol.h')
-rw-r--r-- | shared/protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/protocol.h b/shared/protocol.h index fbe29d6..5bcb114 100644 --- a/shared/protocol.h +++ b/shared/protocol.h @@ -5,7 +5,7 @@ #include "bin.h" -#define WS_PROTOCOL_CMD_MAX_ARGUMENTS (1) +#define WS_PROTOCOL_CMD_MAX_ARGUMENTS (2) #define WS_PROTOCOL_CMD_BUFFER_LEN (40) #define WS_PROTOCOL_CMD_AMOUNT (1) @@ -148,3 +148,4 @@ static ws_protocol_res_handler_t* g_ws_protocol_res_handlers[WS_PROTOCOL_CMD_AMO [WS_PROTOCOL_CMD_LAST_RECORDS] = &ws_protocol_res_last_records, }; +unsigned short ws_protocol_get_header_size(ws_s_protocol_res* response);
\ No newline at end of file |