diff th_ioctx.h @ 700:ec8fe89576ff

Adjust th_ioctx API. Breakage.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 10 Mar 2020 17:01:10 +0200
parents a04b8fe158b9
children 7aee25fbc504
line wrap: on
line diff
--- a/th_ioctx.h	Tue Mar 10 16:51:55 2020 +0200
+++ b/th_ioctx.h	Tue Mar 10 17:01:10 2020 +0200
@@ -95,8 +95,7 @@
 //
 // I/O context management functions
 //
-th_ioctx *   th_io_new(const th_ioctx_ops *fops, const char *filename);
-int          th_io_open(th_ioctx *ctx, const char *mode);
+th_ioctx *   th_io_new(const th_ioctx_ops *fops, const char *filename, const char *mode);
 int          th_io_fopen(th_ioctx **pctx, const th_ioctx_ops *fops, const char *filename, const char *mode);
 int          th_io_reopen(th_ioctx *ctx, const char *mode);
 void         th_io_close(th_ioctx *ctx);