implemented server database and api for client database

This commit is contained in:
2025-12-21 20:29:35 +05:00
parent 49793e2929
commit d461cae077
32 changed files with 538 additions and 413 deletions

View File

@@ -3,10 +3,12 @@
#include "client/client_internal.h"
/// @param out_err_msg heap-allocated string
Result(void) recvErrorMessage(EncryptedSocketTCP* sock, PacketHeader* res_header,
str* out_err_msg);
Result(void) recvStr(EncryptedSocketTCP* sock, u32 size, str* out_s);
/// @param out_str heap-allocated string
Result(void) recvStr(EncryptedSocketTCP* sock, u32 size, str* out_str);
Result(void) _recvResponse(EncryptedSocketTCP* sock,
PacketHeader* res_header, Array(u8) res, PacketType res_type);