Mercurial > hg > th-libs
comparison th_ioctx.h @ 787:482b0acef25a
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 29 Dec 2023 12:39:39 +0200 |
parents | 1959ba53e9dc |
children |
comparison
equal
deleted
inserted
replaced
786:c51f056f3557 | 787:482b0acef25a |
---|---|
93 | 93 |
94 | 94 |
95 // | 95 // |
96 // I/O context management functions | 96 // I/O context management functions |
97 // | 97 // |
98 th_ioctx_t * th_io_new(const th_ioctx_ops_t *fops, const char *filename, const char *mode); | 98 th_ioctx_t * th_io_new(const th_ioctx_ops_t *fops, const char *filename, const char *mode); |
99 int th_io_fopen(th_ioctx_t **pctx, const th_ioctx_ops_t *fops, const char *filename, const char *mode); | 99 int th_io_fopen(th_ioctx_t **pctx, const th_ioctx_ops_t *fops, const char *filename, const char *mode); |
100 int th_io_reopen(th_ioctx_t *ctx, const char *mode); | 100 int th_io_reopen(th_ioctx_t *ctx, const char *mode); |
101 void th_io_close(th_ioctx_t *ctx); | 101 void th_io_close(th_ioctx_t *ctx); |
102 | 102 |
103 void th_io_init_stdio(th_ioctx_t *ctx, FILE *fh); | 103 void th_io_init_stdio(th_ioctx_t *ctx, FILE *fh); |