1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef OPAL_COMPRESS_BASE_H
14 #define OPAL_COMPRESS_BASE_H
15
16 #include "opal_config.h"
17 #include "opal/mca/compress/compress.h"
18 #include "opal/util/opal_environ.h"
19 #include "opal/runtime/opal_cr.h"
20
21 #include "opal/mca/base/base.h"
22
23
24
25
26
27 #if defined(c_plusplus) || defined(__cplusplus)
28 extern "C" {
29 #endif
30
31 typedef struct {
32 size_t compress_limit;
33 } opal_compress_base_t;
34
35 OPAL_DECLSPEC extern opal_compress_base_t opal_compress_base;
36
37
38
39
40
41
42
43
44
45 OPAL_DECLSPEC int opal_compress_base_open(mca_base_open_flag_t flags);
46
47
48
49
50
51
52
53
54
55 OPAL_DECLSPEC int opal_compress_base_select(void);
56
57
58
59
60
61
62
63
64
65 OPAL_DECLSPEC int opal_compress_base_close(void);
66
67
68
69
70 OPAL_DECLSPEC extern mca_base_framework_t opal_compress_base_framework;
71 OPAL_DECLSPEC extern opal_compress_base_component_t opal_compress_base_selected_component;
72 OPAL_DECLSPEC extern opal_compress_base_module_t opal_compress;
73
74
75
76
77 OPAL_DECLSPEC int opal_compress_base_tar_create(char ** target);
78 OPAL_DECLSPEC int opal_compress_base_tar_extract(char ** target);
79
80 #if defined(c_plusplus) || defined(__cplusplus)
81 }
82 #endif
83
84 #endif