This source file includes following definitions.
- component_open
- component_query
- component_close
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #include <src/include/pmix_config.h>
30 #include "pmix_common.h"
31
32
33 #include "src/mca/gds/gds.h"
34 #include "gds_hash.h"
35
36 static pmix_status_t component_open(void);
37 static pmix_status_t component_close(void);
38 static pmix_status_t component_query(pmix_mca_base_module_t **module, int *priority);
39
40
41
42
43
44 pmix_gds_base_component_t mca_gds_hash_component = {
45 .base = {
46 PMIX_GDS_BASE_VERSION_1_0_0,
47
48
49 .pmix_mca_component_name = "hash",
50 PMIX_MCA_BASE_MAKE_VERSION(component,
51 PMIX_MAJOR_VERSION,
52 PMIX_MINOR_VERSION,
53 PMIX_RELEASE_VERSION),
54
55
56 .pmix_mca_open_component = component_open,
57 .pmix_mca_close_component = component_close,
58 .pmix_mca_query_component = component_query,
59 },
60 .data = {
61
62 PMIX_MCA_BASE_METADATA_PARAM_CHECKPOINT
63 }
64 };
65
66
67 static int component_open(void)
68 {
69 return PMIX_SUCCESS;
70 }
71
72
73 static int component_query(pmix_mca_base_module_t **module, int *priority)
74 {
75 *priority = 10;
76 *module = (pmix_mca_base_module_t *)&pmix_hash_module;
77 return PMIX_SUCCESS;
78 }
79
80
81 static int component_close(void)
82 {
83 return PMIX_SUCCESS;
84 }