comparison th_config.h @ 777:484853471eaf

Rename th_cfg_add_hexvalue() to th_cfg_add_hex_triplet().
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Jul 2023 03:19:57 +0300
parents 08bbfb5239fc
children 847d1ebe5b81
comparison
equal deleted inserted replaced
776:680324e43852 777:484853471eaf
73 int th_cfg_add_uint(th_cfgitem_t **cfg, const char *name, unsigned int *data, unsigned int defValue); 73 int th_cfg_add_uint(th_cfgitem_t **cfg, const char *name, unsigned int *data, unsigned int defValue);
74 int th_cfg_add_float(th_cfgitem_t **cfg, const char *name, float *data, float defValue); 74 int th_cfg_add_float(th_cfgitem_t **cfg, const char *name, float *data, float defValue);
75 int th_cfg_add_string(th_cfgitem_t **cfg, const char *name, char **data, char *defValue); 75 int th_cfg_add_string(th_cfgitem_t **cfg, const char *name, char **data, char *defValue);
76 int th_cfg_add_bool(th_cfgitem_t **cfg, const char *name, bool *data, bool defValue); 76 int th_cfg_add_bool(th_cfgitem_t **cfg, const char *name, bool *data, bool defValue);
77 int th_cfg_add_float(th_cfgitem_t **cfg, const char *name, float *data, float defValue); 77 int th_cfg_add_float(th_cfgitem_t **cfg, const char *name, float *data, float defValue);
78 int th_cfg_add_hexvalue(th_cfgitem_t **cfg, const char *name, unsigned int *data, unsigned int defValue); 78 int th_cfg_add_hex_triplet(th_cfgitem_t **cfg, const char *name, unsigned int *data, unsigned int defValue);
79 int th_cfg_add_string_list(th_cfgitem_t **cfg, const char *name, th_llist_t **list); 79 int th_cfg_add_string_list(th_cfgitem_t **cfg, const char *name, th_llist_t **list);
80 80
81 th_cfgitem_t *th_cfg_find(th_cfgitem_t *cfg, const char *section, const char *name, const int type); 81 th_cfgitem_t *th_cfg_find(th_cfgitem_t *cfg, const char *section, const char *name, const int type);
82 82
83 #ifdef __cplusplus 83 #ifdef __cplusplus