Motr  M0
iterator_test.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2012-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_FOP_UT_ITERATOR_TEST_H__
26 #define __MOTR_FOP_UT_ITERATOR_TEST_H__
27 
28 #include "lib/types.h"
29 #include "xcode/xcode_attr.h"
30 #include "fid/fid.h"
31 #include "fid/fid_xc.h"
32 
33 struct m0_fop_seg {
34  uint64_t fs_offset;
35  uint64_t fs_count;
36 } M0_XCA_RECORD;
37 
38 struct m0_fop_vec {
39  uint32_t fv_count;
40  struct m0_fop_seg *fv_seg;
41 } M0_XCA_SEQUENCE;
42 
43 struct m0_fop_optfid {
44  struct m0_fid fo_fid;
46 } M0_XCA_RECORD;
47 
49  struct m0_fid fr_fid;
52 } M0_XCA_RECORD;
53 
55  struct m0_fid fr_fid;
57 } M0_XCA_RECORD;
58 
60  struct m0_fid fit_fid;
66 } M0_XCA_RECORD;
67 
68 #endif /* __MOTR_FOP_UT_ITERATOR_TEST_H__ */
69 
70 /*
71  * Local variables:
72  * c-indentation-style: "K&R"
73  * c-basic-offset: 8
74  * tab-width: 8
75  * fill-column: 80
76  * scroll-step: 1
77  * End:
78  */
m0_void_t fo_none
Definition: iterator_test.h:45
struct m0_fop_vec fr_seq
Definition: iterator_test.h:50
struct m0_fop_optfid fr_unn
Definition: iterator_test.h:51
struct m0_fop_seg * fv_seg
Definition: iterator_test.h:40
struct m0_fop_vec fit_vec
Definition: iterator_test.h:61
struct m0_fop_optfid fit_opt0
Definition: iterator_test.h:62
uint64_t fs_offset
Definition: iterator_test.h:34
struct m0_fid fr_fid
Definition: iterator_test.h:49
struct m0_fop_recursive1 fr_seq
Definition: iterator_test.h:56
struct m0_fop_optfid fit_opt1
Definition: iterator_test.h:63
struct m0_fid fit_fid
Definition: iterator_test.h:60
uint64_t fs_count
Definition: iterator_test.h:35
Definition: fid.h:38
char m0_void_t[0]
Definition: xcode.h:925
struct m0_fid fo_fid
Definition: iterator_test.h:44
struct m0_fop_recursive2 fit_rec
Definition: iterator_test.h:65
struct m0_fid fr_fid
Definition: iterator_test.h:55
uint32_t fv_count
Definition: iterator_test.h:39
struct m0_fop_optfid fit_topt
Definition: iterator_test.h:64