1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 #ifndef PMIX_PSENSOR_HEARTBEAT_H
18 #define PMIX_PSENSOR_HEARTBEAT_H
19
20 #include <src/include/pmix_config.h>
21 #include <src/include/types.h>
22
23 #include "src/class/pmix_list.h"
24 #include "src/include/pmix_globals.h"
25 #include "src/mca/psensor/psensor.h"
26
27 BEGIN_C_DECLS
28
29 typedef struct {
30 pmix_psensor_base_component_t super;
31 bool recv_active;
32 pmix_list_t trackers;
33 } pmix_psensor_heartbeat_component_t;
34
35 PMIX_EXPORT extern pmix_psensor_heartbeat_component_t mca_psensor_heartbeat_component;
36 extern pmix_psensor_base_module_t pmix_psensor_heartbeat_module;
37
38 void pmix_psensor_heartbeat_recv_beats(struct pmix_peer_t *peer,
39 pmix_ptl_hdr_t *hdr,
40 pmix_buffer_t *buf, void *cbdata);
41
42 END_C_DECLS
43
44 #endif