29#include <mstdlib/mstdlib.h>
M_bool(* M_conf_converter_sizet_t)(size_t *mem, const char *value, size_t default_val)
Definition: m_conf.h:310
M_bool M_conf_register_int32(M_conf_t *conf, const char *key, M_int32 *mem, M_int32 default_val, M_int32 min_val, M_int32 max_val, M_conf_converter_int32_t converter)
M_bool M_conf_parse(M_conf_t *conf)
M_bool(* M_conf_converter_uint16_t)(M_uint16 *mem, const char *value, M_uint16 default_val)
Definition: m_conf.h:280
M_bool(* M_conf_converter_uint64_t)(M_uint64 *mem, const char *value, M_uint64 default_val)
Definition: m_conf.h:300
M_bool M_conf_register_uint8(M_conf_t *conf, const char *key, M_uint8 *mem, M_uint8 default_val, M_uint8 min_val, M_uint8 max_val, M_conf_converter_uint8_t converter)
M_bool(* M_conf_converter_int32_t)(M_int32 *mem, const char *value, M_int32 default_val)
Definition: m_conf.h:250
void(* M_conf_logger_t)(const char *path, const char *msg)
Definition: m_conf.h:199
M_bool M_conf_register_custom(M_conf_t *conf, const char *key, void *mem, M_conf_converter_custom_t converter)
M_list_str_t * M_conf_unused_keys(M_conf_t *conf)
M_bool M_conf_register_validator(M_conf_t *conf, M_conf_validator_t validator, void *data)
M_bool(* M_conf_converter_bool_t)(M_bool *mem, const char *value, M_bool default_val)
Definition: m_conf.h:320
M_bool(* M_conf_converter_int8_t)(M_int8 *mem, const char *value, M_int8 default_val)
Definition: m_conf.h:230
void M_conf_destroy(M_conf_t *conf)
M_bool(* M_conf_validator_t)(void *data)
Definition: m_conf.h:338
M_bool(* M_conf_converter_custom_t)(void *mem, const char *value)
Definition: m_conf.h:330
M_bool M_conf_register_buf(M_conf_t *conf, const char *key, char *buf, size_t buf_len, const char *default_val, const char *regex, M_conf_converter_buf_t converter)
M_bool M_conf_add_error_logger(M_conf_t *conf, M_conf_logger_t error_logger)
M_conf_t * M_conf_create(const char *path, M_bool allow_multiple, char *errbuf, size_t errbuf_len)
M_bool M_conf_register_uint32(M_conf_t *conf, const char *key, M_uint32 *mem, M_uint32 default_val, M_uint32 min_val, M_uint32 max_val, M_conf_converter_uint32_t converter)
M_bool(* M_conf_converter_buf_t)(char *buf, size_t buf_len, const char *value, const char *default_val)
Definition: m_conf.h:210
const char * M_conf_get_value(M_conf_t *conf, const char *key)
M_bool M_conf_register_int64(M_conf_t *conf, const char *key, M_int64 *mem, M_int64 default_val, M_int64 min_val, M_int64 max_val, M_conf_converter_int64_t converter)
M_list_str_t * M_conf_get_sections(M_conf_t *conf)
M_bool M_conf_register_strdup(M_conf_t *conf, const char *key, char **address, const char *default_val, const char *regex, M_conf_converter_strdup_t converter)
struct M_conf_t M_conf_t
Definition: m_conf.h:192
M_bool M_conf_add_debug_logger(M_conf_t *conf, M_conf_logger_t debug_logger)
M_list_str_t * M_conf_get_values(M_conf_t *conf, const char *key)
M_bool M_conf_register_bool(M_conf_t *conf, const char *key, M_bool *mem, M_bool default_val, M_conf_converter_bool_t converter)
M_bool M_conf_register_uint16(M_conf_t *conf, const char *key, M_uint16 *mem, M_uint16 default_val, M_uint16 min_val, M_uint16 max_val, M_conf_converter_uint16_t converter)
M_bool M_conf_register_sizet(M_conf_t *conf, const char *key, size_t *mem, size_t default_val, size_t min_val, size_t max_val, M_conf_converter_sizet_t converter)
M_bool(* M_conf_converter_uint32_t)(M_uint32 *mem, const char *value, M_uint32 default_val)
Definition: m_conf.h:290
M_bool M_conf_register_int16(M_conf_t *conf, const char *key, M_int16 *mem, M_int16 default_val, M_int16 min_val, M_int16 max_val, M_conf_converter_int16_t converter)
M_bool M_conf_register_int8(M_conf_t *conf, const char *key, M_int8 *mem, M_int8 default_val, M_int8 min_val, M_int8 max_val, M_conf_converter_int8_t converter)
M_bool M_conf_register_uint64(M_conf_t *conf, const char *key, M_uint64 *mem, M_uint64 default_val, M_uint64 min_val, M_uint64 max_val, M_conf_converter_uint64_t converter)
M_bool(* M_conf_converter_int16_t)(M_int16 *mem, const char *value, M_int16 default_val)
Definition: m_conf.h:240
M_bool(* M_conf_converter_uint8_t)(M_uint8 *mem, const char *value, M_uint8 default_val)
Definition: m_conf.h:270
M_bool(* M_conf_converter_strdup_t)(char **mem, const char *value, const char *default_val)
Definition: m_conf.h:220
M_bool(* M_conf_converter_int64_t)(M_int64 *mem, const char *value, M_int64 default_val)
Definition: m_conf.h:260
struct M_list_str M_list_str_t
Definition: m_list_str.h:80