|
Motr
M0
|
Go to the source code of this file.
Macros | |
| #define | __MOTR_CONF_UT_RPC_HELPERS_H__ |
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) |
| #define __MOTR_CONF_UT_RPC_HELPERS_H__ |
Definition at line 24 of file rpc_helpers.h.
| 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.
