root/opal/mca/pmix/pmix4x/pmix/src/mca/psensor/heartbeat/psensor_heartbeat.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2010      Cisco Systems, Inc.  All rights reserved.
   3  * Copyright (c) 2012      Los Alamos National Security, Inc. All rights reserved.
   4  *
   5  * Copyright (c) 2017-2018 Intel, Inc.  All rights reserved.
   6  * $COPYRIGHT$
   7  *
   8  * Additional copyrights may follow
   9  *
  10  * $HEADER$
  11  */
  12 /**
  13  * @file
  14  *
  15  * Heartbeat sensor
  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

/* [<][>][^][v][top][bottom][index][help] */