Motr  M0
sns.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011-2020 Seagate Technology LLC and/or its Affiliates
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * For any questions about this software or licensing,
17  * please email opensource@seagate.com or cortx-questions@seagate.com.
18  *
19  */
20 
21 
22 #include "sns/sns.h"
23 #include "sns/cm/cm.h"
24 
25 M0_INTERNAL int m0_sns_init()
26 {
27  return m0_sns_cm_type_register();
28 }
29 
30 M0_INTERNAL void m0_sns_fini()
31 {
33 }
34 
35 /*
36  * Local variables:
37  * c-indentation-style: "K&R"
38  * c-basic-offset: 8
39  * tab-width: 8
40  * fill-column: 80
41  * scroll-step: 1
42  * End:
43  */
M0_INTERNAL void m0_sns_cm_type_deregister(void)
Definition: cm.c:404
M0_INTERNAL void m0_sns_fini()
Definition: sns.c:30
M0_INTERNAL int m0_sns_cm_type_register(void)
Definition: cm.c:394
M0_INTERNAL int m0_sns_init()
Definition: sns.c:25