1 // SPDX-License-Identifier: Zlib
2 #ifndef DFLTCC_DEFLATE_H
3 #define DFLTCC_DEFLATE_H
7 /* External functions */
8 int dfltcc_can_deflate(z_streamp strm);
9 int dfltcc_deflate(z_streamp strm,
12 void dfltcc_reset_deflate_state(z_streamp strm);
14 #define DEFLATE_RESET_HOOK(strm) \
15 dfltcc_reset_deflate_state((strm))
17 #define DEFLATE_HOOK dfltcc_deflate
19 #define DEFLATE_NEED_CHECKSUM(strm) (!dfltcc_can_deflate((strm)))
21 #endif /* DFLTCC_DEFLATE_H */