From 4ff03864d0b62b6bda9f9df46622e897cb985dcf Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 2 Sep 2024 15:12:28 +0200 Subject: [PATCH] included the rust fn in 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 ad86deb..4d8cd7e 100644 --- a/include/chat/config.h +++ b/include/chat/config.h @@ -37,6 +37,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 +why2_bool why2_toml_equals(const char *path, const char *key, const char *value); //CHECK IF key IN path IS EQUAL TO value 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