add config parser

This commit is contained in:
2025-04-25 12:19:07 +02:00
parent dd9e2f557b
commit b9dd1c4007
7 changed files with 85 additions and 13 deletions

View File

@@ -40,6 +40,12 @@ void cws_server_setup_hints(struct addrinfo *hints, size_t len, const char *host
*/
void cws_server_loop(int sockfd);
// @TODO
/**
* @brief Cleanup server's resources
*/
void cws_server_cleanup();
/**
* @brief Adds a file descriptor to the interest list
*