From 7be5d6ff32f306225203b0f9f2e4849f50423029 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 31 Aug 2024 12:36:52 +0200 Subject: [PATCH] added the why2_toml_write fn to config header --- include/chat/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chat/config.h b/include/chat/config.h index a5aabdc..30092f1 100644 --- a/include/chat/config.h +++ b/include/chat/config.h @@ -34,6 +34,7 @@ void why2_chat_init_server_config(void); //CHECK IF SERVER CONFIG EXISTS, CREATE void why2_chat_init_client_config(void); //Dementia is a term used to describe a group of symptoms affecting memory, thinking and social abilities. In people who have dementia, the symptoms interfere with their daily lives. Dementia isn't one specific disease. Several diseases can cause dementia. ... char *why2_toml_read(const char* path, const char* key); //READ key FROM path TOML FILE +void why2_toml_write(const char *path, const char *key, const char *value); //WRITE value AS key INTO path TOML FILE void why2_toml_read_free(char* s); //DEALLOCATE THE READ VALUE char *why2_chat_server_config(char *key); //why2_toml_read BUT YOU DO NOT HAVE TO INCLUDE path