OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

compress_gzip.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2010 The Trustees of Indiana University.
3 * All rights reserved.
4 * $COPYRIGHT$
5 *
6 * Additional copyrights may follow
7 *
8 * $HEADER$
9 */
10
11 /**
12 * @file
13 *
14 * GZIP COMPRESS component
15 *
16 * Uses the gzip library
17 */
18
19 #ifndef MCA_COMPRESS_GZIP_EXPORT_H
20 #define MCA_COMPRESS_GZIP_EXPORT_H
21
22 #include "opal_config.h"
23
24 #include "opal/util/output.h"
25
26 #include "opal/mca/mca.h"
27 #include "opal/mca/compress/compress.h"
28
29 #if defined(c_plusplus) || defined(__cplusplus)
30 extern "C" {
31 #endif
32
33 /*
34 * Local Component structures
35 */
36 struct opal_compress_gzip_component_t {
37 opal_compress_base_component_t super; /** Base COMPRESS component */
38
39 };
40 typedef struct opal_compress_gzip_component_t opal_compress_gzip_component_t;
41 OPAL_MODULE_DECLSPEC extern opal_compress_gzip_component_t mca_compress_gzip_component;
42
43 int opal_compress_gzip_component_query(mca_base_module_t **module, int *priority);
44
45 /*
46 * Module functions
47 */
48 int opal_compress_gzip_module_init(void);
49 int opal_compress_gzip_module_finalize(void);
50
51 /*
52 * Actual funcationality
53 */
54 int opal_compress_gzip_compress(char *fname, char **cname, char **postfix);
55 int opal_compress_gzip_compress_nb(char *fname, char **cname, char **postfix, pid_t *child_pid);
56 int opal_compress_gzip_decompress(char *cname, char **fname);
57 int opal_compress_gzip_decompress_nb(char *cname, char **fname, pid_t *child_pid);
58
59 #if defined(c_plusplus) || defined(__cplusplus)
60 }
61 #endif
62
63 #endif /* MCA_COMPRESS_GZIP_EXPORT_H */
output.h
OPAL output stream facility.
mca_base_module_2_0_0_t
Common type for all MCA modules.
Definition: mca.h:100
compress.h
Compression Framework.
opal_compress_gzip_component_t
Definition: compress_gzip.h:36
mca.h
Top-level interface for all MCA components.
opal_compress_base_component_2_0_0_t
Structure for COMPRESS components.
Definition: compress.h:85