Motr  M0
rm_ha.h File Reference
#include "lib/chan.h"
#include "sm/sm.h"
#include "conf/confc.h"
#include "conf/diter.h"
Include dependency graph for rm_ha.h:

Go to the source code of this file.

Data Structures

struct  m0_rm_ha_tracker
 
struct  m0_rm_ha_subscriber
 
struct  m0_rm_ha_event
 

Macros

#define __MOTR_RM_RM_HA_H__
 

Enumerations

enum  m0_rm_ha_subscriber_state {
  RM_HA_SBSCR_INIT, RM_HA_SBSCR_FS_OPEN, RM_HA_SBSCR_DITER_SEARCH, RM_HA_SBSCR_FAILURE,
  RM_HA_SBSCR_FINAL
}
 

Functions

M0_INTERNAL void m0_rm_ha_tracker_init (struct m0_rm_ha_tracker *tracker, m0_chan_cb_t cb)
 
M0_INTERNAL void m0_rm_ha_tracker_fini (struct m0_rm_ha_tracker *tracker)
 
M0_INTERNAL int m0_rm_ha_subscriber_init (struct m0_rm_ha_subscriber *sbscr, struct m0_sm_group *grp, struct m0_confc *confc, const char *rem_ep, struct m0_rm_ha_tracker *tracker)
 
M0_INTERNAL void m0_rm_ha_subscribe (struct m0_rm_ha_subscriber *sbscr)
 
M0_INTERNAL void m0_rm_ha_subscriber_fini (struct m0_rm_ha_subscriber *sbscr)
 
M0_INTERNAL int m0_rm_ha_subscribe_sync (struct m0_confc *confc, const char *rem_ep, struct m0_rm_ha_tracker *tracker)
 
M0_INTERNAL void m0_rm_ha_unsubscribe (struct m0_rm_ha_tracker *tracker)
 
M0_INTERNAL void m0_rm_ha_unsubscribe_lock (struct m0_rm_ha_tracker *tracker)
 

Variables

enum m0_rm_ha_subscriber_state M0_XCA_DOMAIN
 

Macro Definition Documentation

◆ __MOTR_RM_RM_HA_H__

#define __MOTR_RM_RM_HA_H__

Definition at line 26 of file rm_ha.h.