Motr  M0
m0rpcping_main.c
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2011-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 #include <linux/module.h>
24 
25 #include "rpc_ping.h"
26 #include "lib/thread.h"
27 
28 M0_INTERNAL int init_module(void)
29 {
31  return m0_rpc_ping_init();
32 }
33 
34 M0_INTERNAL void cleanup_module(void)
35 {
38 }
39 
40 /*
41  * We are using Apache license for complete motr code but for MODULE_LICENSE
42  * marker there is no provision to mention Apache for this marker. But as this
43  * marker is necessary to remove the warnings, keeping this blank to make
44  * compiler happy.
45  */
47 
48 /*
49  * Local variables:
50  * c-indentation-style: "K&R"
51  * c-basic-offset: 8
52  * tab-width: 8
53  * fill-column: 80
54  * scroll-step: 1
55  * End:
56  */
int m0_rpc_ping_init(void)
M0_INTERNAL void cleanup_module(void)
M0_THREAD_ENTER
Definition: dir.c:336
MODULE_LICENSE()
M0_INTERNAL void m0_rpc_ping_fini(void)
Definition: rpc_ping.c:495
M0_INTERNAL int init_module(void)