diff -r 8bda076d0a16 -r 04c65336777f src/network.h --- a/src/network.h Sat Aug 22 15:15:52 2026 +0200 +++ b/src/network.h Sat Aug 22 16:22:05 2026 +0200 @@ -70,6 +70,19 @@ Client *client; } Server; +typedef struct { + uint32_t mtime_sec; + uint32_t mtime_usec; + uint8_t piece; + uint8_t fromfile; + uint8_t fromrow; + uint8_t tofile; + uint8_t torow; + uint8_t promotion; +} NetMove; + +#define NETMOVE_LEN 14 + int net_create_tcp(Server *server, short port); int net_find_tcp(Server *server, char* host, short port);