diff options
Diffstat (limited to 'c_implementation/include/libaksettings.h')
-rw-r--r-- | c_implementation/include/libaksettings.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/c_implementation/include/libaksettings.h b/c_implementation/include/libaksettings.h new file mode 100644 index 0000000..e95f37d --- /dev/null +++ b/c_implementation/include/libaksettings.h @@ -0,0 +1,25 @@ +#ifndef AK_SETTINGS_H +#define AK_SETTINGS_H + +#include <stdbool.h> + +typedef struct { + char *key; + char *value; +} AKSetting; + +int ak_settings(); +void ak_settings_print_setting(AKSetting); +int ak_settings_from_file(); +int ak_setting_to_file(AKSetting); + + +const char *ak_settings_get_setting(const char *key); +bool ak_settings_set_setting(const char *key, const char *value); +bool ak_settings_save_settings(); +bool ak_settings_load_settings_binary(); +int ak_settings_find_setting(const char *key); +void ak_settings_free_settings(); +bool ak_settings_save_settings_binary(); + +#endif // AK_SETTINGS_H |