Motr
M0
libdemo.h
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2021 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
#pragma once
22
23
#ifndef __MOTR_ISCSERVICE_DEMO_LIBDEMO_H__
24
#define __MOTR_ISCSERVICE_DEMO_LIBDEMO_H__
25
26
#include "
lib/types.h
"
27
#include "
lib/buf.h
"
28
#include "lib/buf_xc.h"
29
#include "
fid/fid.h
"
30
#include "fid/fid_xc.h"
31
#include "
lib/vec.h
"
32
#include "lib/vec_xc.h"
33
#include "
xcode/xcode_attr.h
"
34
42
struct
mm_result
{
44
uint64_t
mr_idx
;
46
uint64_t
mr_nr
;
48
double
mr_val
;
50
struct
m0_buf
mr_lbuf
;
52
struct
m0_buf
mr_rbuf
;
53
} M0_XCA_RECORD;
54
56
struct
isc_targs
{
58
struct
m0_fid
ist_cob
;
60
struct
m0_io_indexvec
ist_ioiv
;
61
} M0_XCA_RECORD;
62
63
#endif
/* __MOTR_ISCSERVICE_DEMO_LIBDEMO_H__ */
64
65
/*
66
* Local variables:
67
* c-indentation-style: "K&R"
68
* c-basic-offset: 8
69
* tab-width: 8
70
* fill-column: 80
71
* scroll-step: 1
72
* End:
73
*/
fid.h
types.h
mm_result::mr_lbuf
struct m0_buf mr_lbuf
Definition:
libdemo.h:50
mm_result::mr_idx
uint64_t mr_idx
Definition:
libdemo.h:44
xcode_attr.h
isc_targs::ist_ioiv
struct m0_io_indexvec ist_ioiv
Definition:
libdemo.h:60
m0_buf
Definition:
buf.h:37
buf.h
mm_result
Definition:
libdemo.h:42
mm_result::mr_val
double mr_val
Definition:
libdemo.h:48
mm_result::mr_rbuf
struct m0_buf mr_rbuf
Definition:
libdemo.h:52
m0_fid
Definition:
fid.h:38
mm_result::mr_nr
uint64_t mr_nr
Definition:
libdemo.h:46
m0_io_indexvec
Definition:
vec.h:634
isc_targs
Definition:
libdemo.h:56
isc_targs::ist_cob
struct m0_fid ist_cob
Definition:
libdemo.h:58
vec.h
iscservice
demo
libdemo.h
Generated on Thu Apr 14 2022 14:02:56 for Motr by
1.8.14