Debian Codegraph @

mz_strm_libcomp.h

raw symbols SCIP
1 /* mz_strm_libcomp.h -- Stream for apple compression
2 part of the minizip-ng project
3
4 Copyright (C) Nathan Moinvaziri
5 https://github.com/zlib-ng/minizip-ng
6
7 This program is distributed under the terms of the same license as zlib.
8 See the accompanying LICENSE file for the full text of the license.
9 */
10
11 #ifndef MZ_STREAM_LIBCOMP_H
12 #define MZ_STREAM_LIBCOMP_H
13
14 #include <stdint.h>
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 /***************************************************************************/
21
22 int32_t mz_stream_libcomp_open(void *stream, const char *filename, int32_t mode);
23 int32_t mz_stream_libcomp_is_open(void *stream);
24 int32_t mz_stream_libcomp_read(void *stream, void *buf, int32_t size);
25 int32_t mz_stream_libcomp_write(void *stream, const void *buf, int32_t size);
26 int64_t mz_stream_libcomp_tell(void *stream);
27 int32_t mz_stream_libcomp_seek(void *stream, int64_t offset, int32_t origin);
28 int32_t mz_stream_libcomp_close(void *stream);
29 int32_t mz_stream_libcomp_error(void *stream);
30
31 int32_t mz_stream_libcomp_get_prop_int64(void *stream, int32_t prop, int64_t *value);
32 int32_t mz_stream_libcomp_set_prop_int64(void *stream, int32_t prop, int64_t value);
33
34 void *mz_stream_libcomp_create(void);
35 void mz_stream_libcomp_delete(void **stream);
36
37 void *mz_stream_libcomp_get_interface(void);
38
39 /***************************************************************************/
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif