This source file includes following definitions.
- component_open
- component_query
- component_close
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 #include <src/include/pmix_config.h>
  12 #include "pmix_common.h"
  13 
  14 #include "src/mca/base/pmix_mca_base_var.h"
  15 #include "src/mca/psquash/psquash.h"
  16 #include "psquash_flex128.h"
  17 
  18 static pmix_status_t component_open(void);
  19 static pmix_status_t component_close(void);
  20 static pmix_status_t component_query(pmix_mca_base_module_t **module, int *priority);
  21 
  22 
  23 
  24 
  25 
  26 pmix_psquash_base_component_t mca_psquash_flex128_component = {
  27     .base = {
  28         PMIX_PSQUASH_BASE_VERSION_1_0_0,
  29 
  30         
  31         .pmix_mca_component_name = "flex128",
  32         PMIX_MCA_BASE_MAKE_VERSION(component,
  33                                    PMIX_MAJOR_VERSION,
  34                                    PMIX_MINOR_VERSION,
  35                                    PMIX_RELEASE_VERSION),
  36 
  37         
  38         .pmix_mca_open_component = component_open,
  39         .pmix_mca_close_component = component_close,
  40         .pmix_mca_query_component = component_query,
  41     },
  42     .data = {
  43         
  44         PMIX_MCA_BASE_METADATA_PARAM_CHECKPOINT
  45     }
  46 };
  47 
  48 
  49 static int component_open(void)
  50 {
  51     return PMIX_SUCCESS;
  52 }
  53 
  54 
  55 static int component_query(pmix_mca_base_module_t **module, int *priority)
  56 {
  57     *priority = 20;
  58     *module = (pmix_mca_base_module_t *)&pmix_flex128_module;
  59     return PMIX_SUCCESS;
  60 }
  61 
  62 
  63 static int component_close(void)
  64 {
  65     return PMIX_SUCCESS;
  66 }