Motr
M0
module.h
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2014-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
#pragma once
24
#ifndef __MOTR_STOB_MODULE_H__
25
#define __MOTR_STOB_MODULE_H__
26
27
#include "
module/module.h
"
28
#include "
stob/type.h
"
29
37
enum
{
39
M0_LEVEL_STOB
40
};
41
42
struct
m0_stob_module
{
43
struct
m0_module
stm_module
;
44
struct
m0_stob_types
stm_types
;
45
};
46
47
M0_INTERNAL
struct
m0_stob_module
*
m0_stob_module__get
(
void
);
48
49
struct
m0_stob_ad_module
{
50
struct
m0_tl
sam_domains
;
51
struct
m0_mutex
sam_lock
;
52
};
53
55
#endif
/* __MOTR_STOB_MODULE_H__ */
56
57
/*
58
* Local variables:
59
* c-indentation-style: "K&R"
60
* c-basic-offset: 8
61
* tab-width: 8
62
* fill-column: 80
63
* scroll-step: 1
64
* End:
65
*/
66
/*
67
* vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
68
*/
M0_LEVEL_STOB
Definition:
module.h:39
m0_stob_module::stm_types
struct m0_stob_types stm_types
Definition:
module.h:44
m0_stob_module
Definition:
module.h:42
m0_stob_types
Definition:
type.h:44
module.h
m0_stob_module::stm_module
struct m0_module stm_module
Definition:
module.h:43
m0_module
Definition:
module.h:151
m0_stob_ad_module::sam_lock
struct m0_mutex sam_lock
Definition:
module.h:51
m0_tl
Definition:
tlist.h:251
m0_stob_ad_module
Definition:
module.h:49
m0_stob_module__get
M0_INTERNAL struct m0_stob_module * m0_stob_module__get(void)
Definition:
module.c:49
m0_mutex
Definition:
mutex.h:47
type.h
m0_stob_ad_module::sam_domains
struct m0_tl sam_domains
Definition:
module.h:50
stob
module.h
Generated on Thu Apr 14 2022 14:02:54 for Motr by
1.8.14