# HG changeset patch # User Matti Hamalainen # Date 1676929132 -7200 # Node ID 6d527b60fb0236a5d86541345eee5e09f5c1cfa4 # Parent 66b9d7b861d1c4c5ab0a4202e79e196c0e34c350 Sync with th-libs API changes. diff -r 66b9d7b861d1 -r 6d527b60fb02 main.c --- a/main.c Wed Dec 14 01:39:18 2022 +0200 +++ b/main.c Mon Feb 20 23:38:52 2023 +0200 @@ -612,7 +612,7 @@ } -void nn_ioctx_errfunc(th_ioctx *ctx, const int err, const char *msg) +void nn_ioctx_errfunc(th_ioctx_t *ctx, const int err, const char *msg) { (void) err; errorMsg("[%s:%d] %s", @@ -620,7 +620,7 @@ } -void nn_ioctx_msgfunc(th_ioctx *ctx, const int level, const char *msg) +void nn_ioctx_msgfunc(th_ioctx_t *ctx, const int level, const char *msg) { (void) ctx; (void) level; @@ -1268,7 +1268,7 @@ { (void) conn; (void) buf; - th_ioctx *ctx = NULL; + th_ioctx_t *ctx = NULL; int cfgfd = -1; int res; @@ -2068,7 +2068,7 @@ if (setConfigDir != NULL) { - th_ioctx *ctx; + th_ioctx_t *ctx; setConfigFile = th_strdup_printf("%s%c%s", setConfigDir, TH_DIR_SEPARATOR_CHR, SET_CONFIG_FILE); if (th_io_fopen(&ctx, &th_stdio_io_ops, setConfigFile, "r") == THERR_OK)