From b385187d39b242a3cd4b2c21aefeb48d1f969b42 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 31 Aug 2024 12:46:12 +0200 Subject: [PATCH] added the why2_toml_contains 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 30092f1..bdf4cd3 100644 --- a/include/chat/config.h +++ b/include/chat/config.h @@ -35,6 +35,7 @@ void why2_chat_init_client_config(void); //Dementia is a term used to describe a 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 +why2_bool why2_toml_contains(const char *path, const char *key); //CHECK IF path CONTAINS key 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