24 #ifndef __MOTR_SPIEL_UT_SPIEL_UT_COMMON_H__ 25 #define __MOTR_SPIEL_UT_SPIEL_UT_COMMON_H__ 34 #define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" 35 #define SERVER_ENDPOINT M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR 36 #define CLIENT_ENDPOINT_ADDR "0@lo:12345:34:*" 63 const char *confdb_path);
69 const char *confd_path,
static const char * ep_addr
M0_INTERNAL void m0_spiel__ut_init(struct m0_spiel *spiel, const char *confd_path, bool cmd_iface)
struct m0_rpc_server_ctx sur_confd_srv
M0_INTERNAL int m0_spiel__ut_rpc_server_start(struct m0_rpc_server_ctx *rpc_srv, const char *confd_ep, const char *confdb_path)
M0_INTERNAL void m0_spiel__ut_reqh_fini(struct m0_spiel_ut_reqh *spl_reqh)
M0_INTERNAL void m0_spiel__ut_fini(struct m0_spiel *spiel, bool cmd_iface)
M0_INTERNAL int m0_spiel__ut_reqh_init(struct m0_spiel_ut_reqh *spl_reqh, const char *ep_addr)
struct m0_net_domain sur_net_dom
const char * confd_addr[]
static struct m0_spiel_ut_reqh * spl_reqh
struct m0_rpc_machine sur_rmachine
M0_INTERNAL void m0_spiel__ut_rpc_server_stop(struct m0_rpc_server_ctx *rpc_srv)
struct m0_net_buffer_pool sur_buf_pool