1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #ifndef MCA_COMPRESS_ZLIB_EXPORT_H
21 #define MCA_COMPRESS_ZLIB_EXPORT_H
22
23 #include "pmix_config.h"
24
25 #include "src/util/output.h"
26
27 #include "src/mca/mca.h"
28 #include "src/mca/pcompress/pcompress.h"
29
30 #if defined(c_plusplus) || defined(__cplusplus)
31 extern "C" {
32 #endif
33
34 extern pmix_mca_base_component_t mca_pcompress_zlib_component;
35
36
37
38
39 int pmix_compress_zlib_module_init(void);
40 int pmix_compress_zlib_module_finalize(void);
41
42
43
44
45 bool pmix_compress_zlib_compress_block(char *instring,
46 uint8_t **outbytes,
47 size_t *nbytes);
48 bool pmix_compress_zlib_uncompress_block(char **outstring,
49 uint8_t *inbytes, size_t len);
50
51 #if defined(c_plusplus) || defined(__cplusplus)
52 }
53 #endif
54
55 #endif