23 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_SPIEL 104 if (profile_str ==
NULL)
105 profile_str =
"<0:0>";
111 #undef M0_TRACE_SUBSYSTEM int m0_spiel_cmd_profile_set(struct m0_spiel *spiel, const char *profile_str)
struct m0_rpc_machine * spc_rmachine
void m0_spiel_fini(struct m0_spiel *spiel)
void(* m0_rconfc_cb_t)(struct m0_rconfc *rconfc)
void m0_spiel_rconfc_stop(struct m0_spiel *spiel)
M0_INTERNAL void m0_rconfc_stop_sync(struct m0_rconfc *rconfc)
M0_INTERNAL bool m0_fid_is_set(const struct m0_fid *fid)
struct m0_spiel::m0_spiel_core spl_core
return M0_ERR(-EOPNOTSUPP)
struct m0_fid spc_profile
struct m0_tl rh_rpc_machines
struct m0_confc * spc_confc
static int m0_rconfc_start_sync(struct m0_rconfc *rconfc)
static struct m0_rpc_machine * spiel_rmachine(struct m0_spiel *spl)
M0_INTERNAL int m0_fid_sscanf(const char *s, struct m0_fid *fid)
M0_INTERNAL void m0_rconfc_fini(struct m0_rconfc *rconfc)
int m0_spiel_rconfc_start(struct m0_spiel *spiel, m0_rconfc_cb_t expired_cb)
M0_INTERNAL struct m0_locality * m0_locality0_get(void)
static struct m0_rconfc * rconfc(struct m0_client *m0c)
struct m0_rconfc spl_rconfc
static struct m0_fid * spiel_profile(struct m0_spiel *spl)
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)
int m0_spiel_init(struct m0_spiel *spiel, struct m0_reqh *reqh)