1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  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 
  35 
  36     struct opal_compress_gzip_component_t {
  37         opal_compress_base_component_t super;  
  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 
  47 
  48     int opal_compress_gzip_module_init(void);
  49     int opal_compress_gzip_module_finalize(void);
  50 
  51     
  52 
  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