From 78fc77cd693c96afe0aaeddac694685e01f84cfe Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 31 Jan 2025 15:58:28 +0100 Subject: [PATCH] created WHY2_CHAT_AUTHORITY_DIR macro --- include/chat/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/chat/config.h b/include/chat/config.h index 57de886..cb8504b 100644 --- a/include/chat/config.h +++ b/include/chat/config.h @@ -31,10 +31,12 @@ extern "C" { #define WHY2_CHAT_CONFIG_CLIENT "client.toml" #define WHY2_CHAT_CONFIG_SERVER_USERS "server_users.toml" //LOGIN INFO CONFIG +#define WHY2_CHAT_AUTHORITY_DIR "certs" //AUTHORITY DIRECTORY + void why2_chat_init_server_config(void); //CHECK IF SERVER CONFIG EXISTS, CREATE IT 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. ... -void why2_chat_init_authority(void); //CREATE AUTHORITY DIRECTORY +void why2_chat_init_authority(void); //CREATE WHY2_CHAT_AUTHORITY_DIR 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