Motr
M0
cfg_default.c
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
28
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0
29
#include "
lib/trace.h
"
30
31
#include "
dtm0/cfg_default.h
"
32
33
#include "
dtm0/domain.h
"
/* struct m0_dtm0_domain_cfg */
34
35
36
M0_INTERNAL
int
37
m0_dtm0_domain_cfg_default_dup
(
struct
m0_dtm0_domain_cfg
*dod_cfg)
38
{
39
*dod_cfg = (
struct
m0_dtm0_domain_cfg
){
40
.
dodc_log
= {
41
},
42
.dodc_pruner = {
43
},
44
.dodc_remach = {
45
},
46
.dodc_pmach = {
47
},
48
.dodc_net = {
49
},
50
};
51
return
M0_RC
(0);
52
}
53
54
M0_INTERNAL
struct
m0_dtm0_domain_cfg
*
55
m0_dtm0_domain_cfg_dup
(
struct
m0_dtm0_domain_cfg
*dod_cfg)
56
{
57
return
NULL
;
58
}
59
60
M0_INTERNAL
void
m0_dtm0_domain_cfg_free
(
struct
m0_dtm0_domain_cfg
*dod_cfg)
61
{
62
}
63
64
65
#undef M0_TRACE_SUBSYSTEM
66
69
/*
70
* Local variables:
71
* c-indentation-style: "K&R"
72
* c-basic-offset: 8
73
* tab-width: 8
74
* fill-column: 80
75
* scroll-step: 1
76
* End:
77
*/
78
/*
79
* vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
80
*/
m0_dtm0_domain_cfg_free
M0_INTERNAL void m0_dtm0_domain_cfg_free(struct m0_dtm0_domain_cfg *dod_cfg)
Definition:
cfg_default.c:60
domain.h
trace.h
NULL
#define NULL
Definition:
misc.h:38
cfg_default.h
m0_dtm0_domain_cfg
Definition:
domain.h:50
M0_RC
return M0_RC(rc)
m0_dtm0_domain_cfg_dup
M0_INTERNAL struct m0_dtm0_domain_cfg * m0_dtm0_domain_cfg_dup(struct m0_dtm0_domain_cfg *dod_cfg)
Definition:
cfg_default.c:55
m0_dtm0_domain_cfg::dodc_log
struct m0_dtm0_log_cfg dodc_log
Definition:
domain.h:51
m0_dtm0_domain_cfg_default_dup
M0_INTERNAL int m0_dtm0_domain_cfg_default_dup(struct m0_dtm0_domain_cfg *dod_cfg)
Definition:
cfg_default.c:37
dtm0
cfg_default.c
Generated on Thu Apr 14 2022 14:02:54 for Motr by
1.8.14