changeset 715:6d527b60fb02

Sync with th-libs API changes.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Feb 2023 23:38:52 +0200
parents 66b9d7b861d1
children 3dbcd6f49e09
files main.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)