1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #ifndef PMIX_PSENSOR_H_
17 #define PMIX_PSENSOR_H_
18
19 #include <src/include/pmix_config.h>
20
21 #include "src/class/pmix_list.h"
22 #include "src/mca/mca.h"
23 #include "src/include/pmix_globals.h"
24
25 BEGIN_C_DECLS
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 typedef pmix_status_t (*pmix_psensor_base_module_start_fn_t)(pmix_peer_t *requestor, pmix_status_t error,
41 const pmix_info_t *monitor,
42 const pmix_info_t directives[], size_t ndirs);
43
44
45
46
47
48
49
50
51
52 typedef pmix_status_t (*pmix_psensor_base_module_stop_fn_t)(pmix_peer_t *requestor,
53 char *id);
54
55
56
57
58
59 typedef struct pmix_psensor_base_module_1_0_0_t {
60 pmix_psensor_base_module_start_fn_t start;
61 pmix_psensor_base_module_stop_fn_t stop;
62 } pmix_psensor_base_module_t;
63
64
65
66
67 typedef struct pmix_psensor_base_component_1_0_0_t {
68 pmix_mca_base_component_t base;
69 pmix_mca_base_component_data_t data;
70 } pmix_psensor_base_component_t;
71
72
73
74
75
76
77 #define PMIX_PSENSOR_BASE_VERSION_1_0_0 \
78 PMIX_MCA_BASE_VERSION_1_0_0("psensor", 1, 0, 0)
79
80
81
82 PMIX_EXPORT extern pmix_psensor_base_module_t pmix_psensor;
83
84 END_C_DECLS
85
86 #endif