diff th_ioctx.h @ 204:55f429dff750

Add th_io_fopen() helper function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Feb 2016 23:14:54 +0200
parents b392293047da
children 3635415a2d03
line wrap: on
line diff
--- a/th_ioctx.h	Thu Feb 11 22:59:30 2016 +0200
+++ b/th_ioctx.h	Thu Feb 11 23:14:54 2016 +0200
@@ -74,6 +74,7 @@
 //
 th_ioctx *   th_io_new(const th_ioctx_ops *fops);
 int          th_io_open(th_ioctx *ctx, const char *filename, const char *mode);
+th_ioctx *   th_io_fopen(const th_ioctx_ops *fops, const char *filename, const char *mode);
 void         th_io_close(th_ioctx *ctx);
 void         th_io_free(th_ioctx *ctx);