| 1 | /* mz_strm_buf.h -- Stream for buffering reads/writes |
| 2 | part of the minizip-ng project |
| 3 | |
| 4 | This version of ioapi is designed to buffer IO. |
| 5 | |
| 6 | Copyright (C) Nathan Moinvaziri |
| 7 | https://github.com/zlib-ng/minizip-ng |
| 8 | |
| 9 | This program is distributed under the terms of the same license as zlib. |
| 10 | See the accompanying LICENSE file for the full text of the license. |
| 11 | */ |
| 12 | |
| 13 | #ifndef MZ_STREAM_BUFFERED_H |
| 14 | #define MZ_STREAM_BUFFERED_Hcxx . . $ `mz_strm_buf.h:14:9`! |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | extern "C" { |
| 18 | #endif |
| 19 | |
| 20 | /***************************************************************************/ |
| 21 | |
| 22 | int32_tcxx . . $ int32_t# mz_stream_buffered_opencxx . . $ mz_stream_buffered_open(7083a8984c0735e8).(void *stream, const char *path, int32_tcxx . . $ int32_t# mode); |
| 23 | int32_tcxx . . $ int32_t# mz_stream_buffered_is_opencxx . . $ mz_stream_buffered_is_open(dedf1e9b1c614a07).(void *stream); |
| 24 | int32_tcxx . . $ int32_t# mz_stream_buffered_readcxx . . $ mz_stream_buffered_read(8bc41909eac9e5d8).(void *stream, void *buf, int32_tcxx . . $ int32_t# size); |
| 25 | int32_tcxx . . $ int32_t# mz_stream_buffered_writecxx . . $ mz_stream_buffered_write(91e54fd90adbb21).(void *stream, const void *buf, int32_tcxx . . $ int32_t# size); |
| 26 | int64_tcxx . . $ int64_t# mz_stream_buffered_tellcxx . . $ mz_stream_buffered_tell(72c1818a5177f981).(void *stream); |
| 27 | int32_tcxx . . $ int32_t# mz_stream_buffered_seekcxx . . $ mz_stream_buffered_seek(8bc0ff128761c75d).(void *stream, int64_tcxx . . $ int64_t# offset, int32_tcxx . . $ int32_t# origin); |
| 28 | int32_tcxx . . $ int32_t# mz_stream_buffered_closecxx . . $ mz_stream_buffered_close(dedf1e9b1c614a07).(void *stream); |
| 29 | int32_tcxx . . $ int32_t# mz_stream_buffered_errorcxx . . $ mz_stream_buffered_error(dedf1e9b1c614a07).(void *stream); |
| 30 | |
| 31 | void *mz_stream_buffered_createcxx . . $ mz_stream_buffered_create(50c7df7de5344ebb).(void); |
| 32 | void mz_stream_buffered_deletecxx . . $ mz_stream_buffered_delete(539e082cf00e1f43).(void **stream); |
| 33 | |
| 34 | void *mz_stream_buffered_get_interfacecxx . . $ mz_stream_buffered_get_interface(50c7df7de5344ebb).(void); |
| 35 | |
| 36 | /***************************************************************************/ |
| 37 | |
| 38 | #ifdef __cplusplus |
| 39 | } |
| 40 | #endif |
| 41 | |
| 42 | #endif |