25 #ifndef __MOTR_HA_DISPATCHER_H__ 26 #define __MOTR_HA_DISPATCHER_H__ struct m0_tl hds_handlers
static uint64_t tag(uint8_t code, uint64_t id)
void(* hh_msg_received_cb)(struct m0_ha_handler *hh, struct m0_ha *ha, struct m0_ha_link *hl, struct m0_ha_msg *msg, uint64_t tag, void *data)
M0_INTERNAL void m0_ha_dispatcher_handle(struct m0_ha_dispatcher *hd, struct m0_ha *ha, struct m0_ha_link *hl, struct m0_ha_msg *msg, uint64_t tag)
struct m0_ha_keepalive_handler * hds_keepalive_handler
struct m0_module hds_module
struct m0_ha_dispatcher_cfg hds_cfg
M0_INTERNAL void m0_ha_dispatcher_fini(struct m0_ha_dispatcher *hd)
M0_INTERNAL void m0_ha_dispatcher_attach(struct m0_ha_dispatcher *hd, struct m0_ha_handler *hh)
M0_INTERNAL int m0_ha_dispatcher_init(struct m0_ha_dispatcher *hd, struct m0_ha_dispatcher_cfg *hd_cfg)
bool hdc_enable_keepalive
M0_INTERNAL void m0_ha_dispatcher_detach(struct m0_ha_dispatcher *hd, struct m0_ha_handler *hh)
struct m0_ha_fvec_handler * hds_fvec_handler
struct m0_ha_note_handler * hds_note_handler