Mercurial > hg > th-libs
diff th_config.h @ 771:c17eadc60c3d
Rename th_ioctx struct to th_ioctx_t, for consistency. Breaks API.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 20 Feb 2023 23:33:45 +0200 |
parents | 31bc1ed07cf5 |
children | 4744e64ffa3a |
line wrap: on
line diff
--- a/th_config.h Sun Feb 12 14:08:09 2023 +0200 +++ b/th_config.h Mon Feb 20 23:33:45 2023 +0200 @@ -62,9 +62,9 @@ // // Functions // -int th_cfg_read(th_ioctx *fh, th_cfgitem_t *cfg /*, TODO XXX const int flags (for controlling things like "error out on unknown items or ignore" etc */); +int th_cfg_read(th_ioctx_t *fh, th_cfgitem_t *cfg /*, TODO XXX const int flags (for controlling things like "error out on unknown items or ignore" etc */); void th_cfg_free(th_cfgitem_t *cfg, void (*freefunc)(th_cfgitem_t *)); -int th_cfg_write(th_ioctx *fh, const th_cfgitem_t *cfg); +int th_cfg_write(th_ioctx_t *fh, const th_cfgitem_t *cfg); int th_cfg_add_comment(th_cfgitem_t **cfg, const char *comment); int th_cfg_add_section(th_cfgitem_t **cfg, const char *name, th_cfgitem_t *sect);