added tlibtoml submodule

This commit is contained in:
2025-11-27 01:46:44 +05:00
parent f5169e8a8f
commit c263d02b36
15 changed files with 108 additions and 95 deletions

View File

@@ -5,6 +5,14 @@
typedef struct Server Server;
Result(Server*) Server_create(str config_str, void* logger, LogFunction_t log_func);
/// @param config_file_content config in toml format
/// @param config_file_name to use in error messages
/// @param logger some shared data for your log function
/// @param log_func log function that you have to implement
/// @return
Result(Server*) Server_create(str config_file_content, cstr config_file_name,
void* logger, LogFunction_t log_func);
void Server_free(Server* server);
Result(void) Server_run(Server* server);