Motr  M0
isc_fops.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 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_RPC_ISC_FOPS_H__
26 #define __MOTR_RPC_ISC_FOPS_H__
27 
28 #include "fop/fop.h"
29 #include "rpc/rpc_opcodes.h"
30 #include "lib/types.h"
31 #include "xcode/xcode_attr.h"
32 #include "rpc/at.h" /* m0_rpc_at_buf */
33 #include "rpc/at_xc.h" /* m0_rpc_at_buf_xc */
34 
35 
36 M0_INTERNAL int m0_iscservice_fop_init(void);
37 M0_INTERNAL void m0_iscservice_fop_fini(void);
38 
40 M0_INTERNAL void m0_isc_fom_type_init(void);
41 
45 extern struct m0_fop_type m0_fop_isc_fopt;
47 
48 extern const struct m0_fop_type_ops m0_fop_isc_ops;
49 extern const struct m0_fop_type_ops m0_fop_isc_rep_ops;
50 
51 extern const struct m0_rpc_item_type m0_rpc_item_type_isc;
53 
55 struct m0_fop_isc {
70 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
71 
75  int32_t fir_rc;
80 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
81 
82 /* __MOTR_RPC_ISC_FOPS_H__ */
83 #endif
84 
85 /*
86  * Local variables:
87  * c-indentation-style: "K&R"
88  * c-basic-offset: 8
89  * tab-width: 8
90  * fill-column: 80
91  * scroll-step: 1
92  * End:
93  */
const struct m0_rpc_item_type m0_rpc_item_type_isc
int32_t fir_rc
Definition: isc_fops.h:75
struct m0_rpc_at_buf fir_ret
Definition: isc_fops.h:79
const struct m0_fop_type_ops m0_fop_isc_ops
struct m0_cookie fi_comp_cookie
Definition: isc_fops.h:69
M0_INTERNAL void m0_iscservice_fop_fini(void)
Definition: isc_fops.c:65
struct m0_fop_isc M0_XCA_DOMAIN(rpc)
M0_INTERNAL int m0_iscservice_fop_init(void)
Definition: isc_fops.c:41
const struct m0_rpc_item_type m0_rpc_item_type_isc_rep
struct m0_fid fi_comp_id
Definition: isc_fops.h:57
struct m0_rpc_at_buf fi_args
Definition: isc_fops.h:63
struct m0_fop_type m0_fop_isc_rep_fopt
Definition: isc_fops.c:34
struct m0_cookie fir_comp_cookie
Definition: isc_fops.h:77
struct m0_fop_type m0_fop_isc_fopt
Definition: isc_fops.c:33
Definition: fid.h:38
struct m0_rpc_at_buf fi_ret
Definition: isc_fops.h:67
const struct m0_fop_type_ops m0_fop_isc_rep_ops
M0_INTERNAL void m0_isc_fom_type_init(void)
Definition: isc.c:480