improve hash maps

This commit is contained in:
2025-05-03 18:01:50 +02:00
parent ad21ec0fa4
commit 8e880f59be
6 changed files with 88 additions and 9 deletions

View File

@@ -24,7 +24,12 @@ void cws_utils_print_ips(const char *hostname, const char *port);
*/
void cws_utils_get_client_ip(struct sockaddr_storage *sa, char *ip);
/* TODO: add docs */
/**
* @brief Remove whitespaces from a string
*
* @param[in] str The string pointer
* @return Returns the new string without whitespaces
*/
char *cws_strip(char *str);
/* Functions used for hash maps */