Motr
M0
|
Go to the source code of this file.
Data Structures | |
struct | fdmi_sd_ut_ctx |
struct | test_rpc_env |
Macros | |
#define | __MOTR_FDMI_UT_FDMI_SD_COMMON_H__ |
#define | _QUOTE(s) #s |
#define | QUOTE(s) _QUOTE(s) |
#define | M0_FDMI_UT_PATH(name) QUOTE(M0_FDMI_UT_DIR) "/" name |
Functions | |
void | fdmi_serv_start_ut (const struct m0_filterc_ops *filterc_ops) |
void | fdmi_serv_stop_ut (void) |
void | prepare_rpc_env (struct test_rpc_env *env, struct m0_reqh *reqh, const struct m0_rpc_frm_ops *frm_ops, bool sender, struct m0_rpc_conn *rpc_conn, struct m0_rpc_session *rpc_session) |
void | unprepare_rpc_env (struct test_rpc_env *env) |
void | fdmi_ut_packet_send_failed (struct m0_rpc_machine *mach, struct m0_rpc_packet *p) |
Variables | |
struct fdmi_sd_ut_ctx | g_sd_ut |
const struct m0_filterc_ops | filterc_stub_ops |
#define __MOTR_FDMI_UT_FDMI_SD_COMMON_H__ |
Definition at line 25 of file sd_common.h.
Definition at line 31 of file sd_common.h.
Definition at line 35 of file sd_common.h.
Definition at line 32 of file sd_common.h.
void fdmi_serv_start_ut | ( | const struct m0_filterc_ops * | filterc_ops | ) |
Definition at line 66 of file sd_common.c.
void fdmi_serv_stop_ut | ( | void | ) |
Definition at line 121 of file sd_common.c.
void fdmi_ut_packet_send_failed | ( | struct m0_rpc_machine * | mach, |
struct m0_rpc_packet * | p | ||
) |
Definition at line 154 of file sd_common.c.
void prepare_rpc_env | ( | struct test_rpc_env * | env, |
struct m0_reqh * | reqh, | ||
const struct m0_rpc_frm_ops * | frm_ops, | ||
bool | sender, | ||
struct m0_rpc_conn * | rpc_conn, | ||
struct m0_rpc_session * | rpc_session | ||
) |
Definition at line 171 of file sd_common.c.
void unprepare_rpc_env | ( | struct test_rpc_env * | env | ) |
Definition at line 241 of file sd_common.c.
const struct m0_filterc_ops filterc_stub_ops |
Definition at line 43 of file filterc_stub.c.
struct fdmi_sd_ut_ctx g_sd_ut |
Definition at line 41 of file sd_common.c.