Motr
M0
|
Go to the source code of this file.
Functions | |
M0_INTERNAL int | m0_ut_rpc_service_start (struct m0_reqh_service **service, const struct m0_reqh_service_type *type) |
M0_INTERNAL int | m0_ut_rpc_machine_start (struct m0_rpc_machine *mach, struct m0_net_xprt *xprt, const char *ep_addr) |
M0_INTERNAL void | m0_ut_rpc_machine_stop (struct m0_rpc_machine *mach) |
Variables | |
static struct m0_reqh | g_reqh |
static struct m0_net_domain | g_net_dom |
static struct m0_net_buffer_pool | g_buf_pool |
M0_INTERNAL int m0_ut_rpc_machine_start | ( | struct m0_rpc_machine * | mach, |
struct m0_net_xprt * | xprt, | ||
const char * | ep_addr | ||
) |
Initialises net and rpc layers, performs m0_rpc_machine_init().
Definition at line 46 of file rpc_helpers.c.
M0_INTERNAL void m0_ut_rpc_machine_stop | ( | struct m0_rpc_machine * | mach | ) |
Performs m0_rpc_machine_fini(), finalises rpc and net layers.
Definition at line 93 of file rpc_helpers.c.
M0_INTERNAL int m0_ut_rpc_service_start | ( | struct m0_reqh_service ** | service, |
const struct m0_reqh_service_type * | type | ||
) |
Initializes and start reqh service of passed type.
Definition at line 32 of file rpc_helpers.c.
|
static |
Definition at line 30 of file rpc_helpers.c.
|
static |
Definition at line 29 of file rpc_helpers.c.
|
static |
Definition at line 28 of file rpc_helpers.c.