diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:01:56 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:01:56 +0200 |
commit | 9e9ea9d07ed2a176d6f6e83b5b100da22d8fca50 (patch) | |
tree | a683bde4664dad75c3b5a1efbd4223a4ab3b40dd /shared/protocol.h | |
parent | ead710db271795380207141f0add7278ba12ada0 (diff) | |
parent | aae57dc32a843351fb2e17721afcd841bedec0a6 (diff) |
Merge branch 'protocol' into dev
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 |