Debian Codegraph @

mz_strm_zstd.h

raw symbols SCIP
1 /* mz_strm_zlib.h -- Stream for zlib inflate/deflate
2 Version 2.9.2, February 12, 2020
3 part of the minizip-ng project
4
5 Copyright (C) Nathan Moinvaziri
6 https://github.com/zlib-ng/minizip-ng
7
8 This program is distributed under the terms of the same license as zlib.
9 See the accompanying LICENSE file for the full text of the license.
10 */
11
12 #ifndef MZ_STREAM_ZSTD_H
13 #define MZ_STREAM_ZSTD_H
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 /***************************************************************************/
20
21 int32_t mz_stream_zstd_open(void *stream, const char *filename, int32_t mode);
22 int32_t mz_stream_zstd_is_open(void *stream);
23 int32_t mz_stream_zstd_read(void *stream, void *buf, int32_t size);
24 int32_t mz_stream_zstd_write(void *stream, const void *buf, int32_t size);
25 int64_t mz_stream_zstd_tell(void *stream);
26 int32_t mz_stream_zstd_seek(void *stream, int64_t offset, int32_t origin);
27 int32_t mz_stream_zstd_close(void *stream);
28 int32_t mz_stream_zstd_error(void *stream);
29
30 int32_t mz_stream_zstd_get_prop_int64(void *stream, int32_t prop, int64_t *value);
31 int32_t mz_stream_zstd_set_prop_int64(void *stream, int32_t prop, int64_t value);
32
33 void *mz_stream_zstd_create(void);
34 void mz_stream_zstd_delete(void **stream);
35
36 void *mz_stream_zstd_get_interface(void);
37
38 /***************************************************************************/
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif