Motr
M0
|
#include "net/net.h"
#include "net/buffer_pool.h"
#include "reqh/reqh.h"
#include "rpc/rpc_machine.h"
#include "rpc/rpclib.h"
#include "rm/rm_service.h"
Go to the source code of this file.
Data Structures | |
struct | m0_spiel_ut_reqh |
Macros | |
#define | __MOTR_SPIEL_UT_SPIEL_UT_COMMON_H__ |
#define | SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
#define | SERVER_ENDPOINT M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR |
#define | CLIENT_ENDPOINT_ADDR "0@lo:12345:34:*" |
Functions | |
M0_INTERNAL int | m0_spiel__ut_reqh_init (struct m0_spiel_ut_reqh *spl_reqh, const char *ep_addr) |
M0_INTERNAL void | m0_spiel__ut_reqh_fini (struct m0_spiel_ut_reqh *spl_reqh) |
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_rpc_server_stop (struct m0_rpc_server_ctx *rpc_srv) |
M0_INTERNAL void | m0_spiel__ut_init (struct m0_spiel *spiel, const char *confd_path, bool cmd_iface) |
M0_INTERNAL void | m0_spiel__ut_fini (struct m0_spiel *spiel, bool cmd_iface) |
Variables | |
const char * | confd_addr [] |
const char * | rm_addr |
#define __MOTR_SPIEL_UT_SPIEL_UT_COMMON_H__ |
Definition at line 25 of file spiel_ut_common.h.
#define CLIENT_ENDPOINT_ADDR "0@lo:12345:34:*" |
Definition at line 36 of file spiel_ut_common.h.
#define SERVER_ENDPOINT M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR |
Definition at line 35 of file spiel_ut_common.h.
#define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
Definition at line 34 of file spiel_ut_common.h.
M0_INTERNAL void m0_spiel__ut_fini | ( | struct m0_spiel * | spiel, |
bool | cmd_iface | ||
) |
Definition at line 179 of file spiel_ut_common.c.
M0_INTERNAL void m0_spiel__ut_init | ( | struct m0_spiel * | spiel, |
const char * | confd_path, | ||
bool | cmd_iface | ||
) |
Definition at line 153 of file spiel_ut_common.c.
M0_INTERNAL void m0_spiel__ut_reqh_fini | ( | struct m0_spiel_ut_reqh * | spl_reqh | ) |
Definition at line 97 of file spiel_ut_common.c.
M0_INTERNAL int m0_spiel__ut_reqh_init | ( | struct m0_spiel_ut_reqh * | spl_reqh, |
const char * | ep_addr | ||
) |
Definition at line 44 of file spiel_ut_common.c.
M0_INTERNAL int m0_spiel__ut_rpc_server_start | ( | struct m0_rpc_server_ctx * | rpc_srv, |
const char * | confd_ep, | ||
const char * | confdb_path | ||
) |
Definition at line 106 of file spiel_ut_common.c.
M0_INTERNAL void m0_spiel__ut_rpc_server_stop | ( | struct m0_rpc_server_ctx * | rpc_srv | ) |
Definition at line 148 of file spiel_ut_common.c.
const char* confd_addr[] |
Definition at line 32 of file spiel_ut_common.c.
const char* rm_addr |
Definition at line 33 of file spiel_ut_common.c.