25 #ifndef __MOTR_CONF_RCONFC_H__ 26 #define __MOTR_CONF_RCONFC_H__ 500 uint64_t timeout_ns);
M0_INTERNAL int m0_rconfc_confd_endpoints(struct m0_rconfc *rconfc, const char ***eps)
m0_rconfc_cb_t rc_fatal_cb
struct m0_clink rc_conductor_clink
struct rconfc_load_ctx rc_rx
M0_INTERNAL void m0_rconfc_fatal_cb_set(struct m0_rconfc *rconfc, m0_rconfc_cb_t cb)
struct m0_sm_ast rc_load_fini_ast
struct m0_clink rc_ha_entrypoint_cl
struct m0_ha_entrypoint_rep rc_ha_entrypoint_rep
struct m0_sm_ast rc_cctx_fini_ast
M0_INTERNAL int m0_rconfc_init(struct m0_rconfc *rconfc, const struct m0_fid *profile, struct m0_sm_group *sm_group, struct m0_rpc_machine *rmach, m0_rconfc_cb_t expired_cb, m0_rconfc_cb_t ready_cb)
const m0_time_t M0_TIME_NEVER
bool rc_quorum_decision_is_made
uint32_t rc_ha_entrypoint_retries
struct rconfc_load_ctx::rconfc_load_ast rx_ast
void(* m0_rconfc_cb_t)(struct m0_rconfc *rconfc)
M0_INTERNAL void m0_rconfc_rm_fid(struct m0_rconfc *rconfc, struct m0_fid *out)
M0_INTERNAL void m0_rconfc_fini(struct m0_rconfc *rconfc)
M0_INTERNAL void m0_rconfc_stop(struct m0_rconfc *rconfc)
M0_INTERNAL void m0_rconfc_unlock(struct m0_rconfc *rconfc)
M0_INTERNAL uint64_t m0_rconfc_ver_max_read(struct m0_rconfc *rconfc)
struct m0_confc_gate_ops rc_gops
struct m0_rpc_machine * rc_rmach
uint32_t rc_sm_state_on_abort
M0_INTERNAL bool m0_rconfc_is_preloaded(struct m0_rconfc *rconfc)
struct m0_sm_ast rc_load_ast
struct m0_clink rc_ha_update_cl
struct m0_clink rc_herd_cl
struct m0_mutex rc_herd_lock
struct m0_clink rc_unpinned_cl
struct m0_chan rc_herd_chan
M0_INTERNAL int m0_rconfc_start(struct m0_rconfc *rconfc)
static int m0_rconfc_start_sync(struct m0_rconfc *rconfc)
M0_INTERNAL bool m0_rconfc_reading_is_allowed(const struct m0_rconfc *rconfc)
struct m0_sm_group rx_grp
M0_INTERNAL void m0_rconfc_lock(struct m0_rconfc *rconfc)
M0_INTERNAL int m0_rconfc_rm_endpoint(struct m0_rconfc *rconfc, char **ep)
M0_INTERNAL int m0_rconfc_start_wait(struct m0_rconfc *rconfc, uint64_t timeout_ns)
m0_rconfc_cb_t rc_expired_cb
static struct m0_fid profile
struct m0_ha_nvec rc_nvec
M0_INTERNAL void m0_rconfc_stop_sync(struct m0_rconfc *rconfc)
static struct m0_rconfc * rconfc(struct m0_client *m0c)
struct m0_sm_ast rc_stop_ast
m0_rconfc_cb_t rc_ready_cb