Motr  M0
ut_rpc_machine.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2013-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 
24 #pragma once
25 
26 #ifndef __MOTR_UT_UT_RPC_MACHINE_H__
27 #define __MOTR_UT_UT_RPC_MACHINE_H__
28 
29 #include "cob/cob.h"
30 #include "net/lnet/lnet.h"
31 #include "net/buffer_pool.h"
32 #include "mdstore/mdstore.h"
33 #include "reqh/reqh.h"
34 #include "rpc/rpc.h"
35 #include "rpc/rpc_machine.h"
36 #include "be/ut/helper.h"
37 
39  const char *rmc_ep_addr;
49  struct m0_reqh rmc_reqh;
50 };
51 
52 M0_INTERNAL void m0_ut_rpc_mach_init_and_add(struct m0_ut_rpc_mach_ctx *ctx);
53 
54 M0_INTERNAL void m0_ut_rpc_mach_fini(struct m0_ut_rpc_mach_ctx *ctx);
55 
56 #endif /* __MOTR_UT_UT_RPC_MACHINE_H__ */
57 
58 
59 /*
60  * Local variables:
61  * c-indentation-style: "K&R"
62  * c-basic-offset: 8
63  * tab-width: 8
64  * fill-column: 80
65  * scroll-step: 1
66  * End:
67  */
68 /*
69  * vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
70  */
struct m0_net_domain rmc_net_dom
struct m0_net_xprt * rmc_xprt
struct m0_rpc_machine rmc_rpc
struct m0_net_buffer_pool rmc_bufpool
struct m0_cob_domain_id rmc_cob_id
struct m0_mdstore rmc_mdstore
struct m0_cob_domain rmc_cob_dom
struct m0_be_ut_seg rmc_ut_seg
Definition: reqh.h:94
struct m0_reqh rmc_reqh
const char * rmc_ep_addr
M0_INTERNAL void m0_ut_rpc_mach_init_and_add(struct m0_ut_rpc_mach_ctx *ctx)
Definition: nucleus.c:42
struct m0_be_ut_backend rmc_ut_be
M0_INTERNAL void m0_ut_rpc_mach_fini(struct m0_ut_rpc_mach_ctx *ctx)