Motr
M0
fdmi.h
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2017-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
25
#ifndef __MOTR_FDMI_FDMI_H__
26
#define __MOTR_FDMI_FDMI_H__
27
28
#include "
lib/types.h
"
29
#include "
lib/buf.h
"
30
#include "
lib/errno.h
"
31
#include "
lib/refs.h
"
32
#include "
lib/vec.h
"
/* m0_bufvec_cursor */
33
194
M0_EXTERN
struct
m0_reqh_service_type
m0_fdmi_service_type
;
195
202
enum
m0_fdmi_filter_state
{
203
M0_FDMI_FILTER_INACTIVE
= 0,
204
M0_FDMI_FILTER_DEAD
,
205
206
/* add flags above */
207
M0_FDMI_FILTER_STATE_NR
208
};
209
225
enum
m0_fdmi_dock_type_id
{
226
M0_FDMI_DOCK_TYPE_SOURCE
= 0,
227
M0_FDMI_DOCK_TYPE_PLUGIN
,
228
M0_FDMI_DOCK_TYPE_NR
229
};
230
234
enum
m0_fdmi_rec_type_id
{
236
M0_FDMI_REC_TYPE_TEST
= 0x100,
238
M0_FDMI_REC_TYPE_FOL
= 0x1000,
240
M0_FDMI_REC_TYPE_ADDB
241
};
242
244
M0_INTERNAL
int
m0_fdmi_init
(
void
);
245
247
M0_INTERNAL
void
m0_fdmi_fini
(
void
);
248
250
M0_INTERNAL
struct
m0_fdmi_src_dock
*
m0_fdmi_src_dock_get
(
void
);
251
254
#endif
/* __MOTR_FDMI_FDMI_H__ */
255
256
/*
257
* Local variables:
258
* c-indentation-style: "K&R"
259
* c-basic-offset: 8
260
* tab-width: 8
261
* fill-column: 80
262
* scroll-step: 1
263
* End:
264
*/
265
/*
266
* vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
267
*/
M0_FDMI_REC_TYPE_TEST
Definition:
fdmi.h:236
m0_fdmi_service_type
M0_EXTERN struct m0_reqh_service_type m0_fdmi_service_type
Definition:
fdmi.h:194
m0_fdmi_fini
M0_INTERNAL void m0_fdmi_fini(void)
Definition:
fdmi.c:879
types.h
M0_FDMI_DOCK_TYPE_SOURCE
Definition:
fdmi.h:226
M0_FDMI_DOCK_TYPE_PLUGIN
Definition:
fdmi.h:227
errno.h
M0_FDMI_FILTER_INACTIVE
Definition:
fdmi.h:203
refs.h
m0_fdmi_init
M0_INTERNAL int m0_fdmi_init(void)
Definition:
fdmi.c:867
m0_fdmi_dock_type_id
m0_fdmi_dock_type_id
Definition:
fdmi.h:225
m0_fdmi_filter_state
m0_fdmi_filter_state
Definition:
fdmi.h:202
buf.h
m0_fdmi_src_dock_get
M0_INTERNAL struct m0_fdmi_src_dock * m0_fdmi_src_dock_get(void)
Definition:
fdmi.c:890
M0_FDMI_REC_TYPE_ADDB
Definition:
fdmi.h:240
m0_fdmi_rec_type_id
m0_fdmi_rec_type_id
Definition:
fdmi.h:234
M0_FDMI_FILTER_DEAD
Definition:
fdmi.h:204
m0_reqh_service_type
Definition:
reqh_service.h:446
M0_FDMI_REC_TYPE_FOL
Definition:
fdmi.h:238
M0_FDMI_DOCK_TYPE_NR
Definition:
fdmi.h:228
m0_fdmi_src_dock
Definition:
source_dock_internal.h:100
M0_FDMI_FILTER_STATE_NR
Definition:
fdmi.h:207
vec.h
fdmi
fdmi.h
Generated on Thu Apr 14 2022 14:02:54 for Motr by
1.8.14