added tlibtoml submodule
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user