24#ifndef __M_SETTINGS_H__
25#define __M_SETTINGS_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
31#include <mstdlib/base/m_hash_dict.h>
32#include <mstdlib/base/m_list_str.h>
135 M_SETTINGS_TYPE_REGISTRY
struct M_hash_dict M_hash_dict_t
Definition: m_hash_dict.h:52
struct M_list_str M_list_str_t
Definition: m_list_str.h:80
M_settings_reader_flags_t
Definition: m_settings.h:150
M_bool M_settings_write(const M_settings_t *settings, M_hash_dict_t *dict)
M_settings_t * M_settings_create_file(const char *filename, M_settings_type_t type, M_uint32 flags)
M_list_str_t * M_settings_groups(M_hash_dict_t *dict, const char *group)
M_list_str_t * M_settings_group_keys(M_hash_dict_t *dict, const char *group)
M_settings_t * M_settings_create(const char *organization, const char *application, M_settings_scope_t scope, M_settings_type_t type, M_uint32 flags)
const char * M_settings_filename(const M_settings_t *settings)
const char * M_settings_value(M_hash_dict_t *dict, const char *group, const char *key)
M_settings_type_t
Definition: m_settings.h:122
char * M_settings_full_key(const char *group, const char *key)
M_settings_type_t M_settings_type(const M_settings_t *settings)
M_bool M_settings_clear(const M_settings_t *settings, M_hash_dict_t **dict)
M_settings_scope_t M_settings_scope(const M_settings_t *settings)
void M_settings_split_key(const char *s, char **group, char **key)
struct M_settings M_settings_t
Definition: m_settings.h:88
M_settings_scope_t
Definition: m_settings.h:92
void M_settings_destroy(M_settings_t *settings)
void M_settings_set_value(M_hash_dict_t *dict, const char *group, const char *key, const char *value)
M_bool M_settings_read(const M_settings_t *settings, M_hash_dict_t **dict)
M_settings_access_t M_settings_access(const M_settings_t *settings)
M_hash_dict_t * M_settings_create_dict(const M_settings_t *settings)
M_settings_access_t
Definition: m_settings.h:141
@ M_SETTINGS_READER_NONE
Definition: m_settings.h:151
@ M_SETTINGS_READER_CASECMP
Definition: m_settings.h:152
@ M_SETTINGS_TYPE_INI
Definition: m_settings.h:130
@ M_SETTINGS_TYPE_NATIVE
Definition: m_settings.h:123
@ M_SETTINGS_TYPE_JSON
Definition: m_settings.h:132
@ M_SETTINGS_SCOPE_USER
Definition: m_settings.h:93
@ M_SETTINGS_SCOPE_SYSTEM
Definition: m_settings.h:101
@ M_SETTINGS_ACCESS_READ
Definition: m_settings.h:144
@ M_SETTINGS_ACCESS_NONE
Definition: m_settings.h:142
@ M_SETTINGS_ACCESS_EXISTS
Definition: m_settings.h:143
@ M_SETTINGS_ACCESS_WRITE
Definition: m_settings.h:145