• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef DFLTCC_COMMON_H
2 #define DFLTCC_COMMON_H
3 
4 #ifdef ZLIB_COMPAT
5 #include "../../zlib.h"
6 #else
7 #include "../../zlib-ng.h"
8 #endif
9 #include "../../zutil.h"
10 
11 void Z_INTERNAL *dfltcc_alloc_state(PREFIX3(streamp) strm, uInt items, uInt size);
12 void Z_INTERNAL dfltcc_copy_state(void *dst, const void *src, uInt size);
13 void Z_INTERNAL dfltcc_reset(PREFIX3(streamp) strm, uInt size);
14 void Z_INTERNAL *dfltcc_alloc_window(PREFIX3(streamp) strm, uInt items, uInt size);
15 void Z_INTERNAL dfltcc_free_window(PREFIX3(streamp) strm, void *w);
16 
17 #define ZALLOC_STATE dfltcc_alloc_state
18 
19 #define ZFREE_STATE ZFREE
20 
21 #define ZCOPY_STATE dfltcc_copy_state
22 
23 #define ZALLOC_WINDOW dfltcc_alloc_window
24 
25 #define ZFREE_WINDOW dfltcc_free_window
26 
27 #define TRY_FREE_WINDOW dfltcc_free_window
28 
29 #endif
30