Motr  M0
ha.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 Seagate Technology LLC and/or its Affiliates
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * For any questions about this software or licensing,
17  * please email opensource@seagate.com or cortx-questions@seagate.com.
18  *
19  */
20 
21 
22 #pragma once
23 
24 #ifndef __MOTR_SNS_CM_HA_H__
25 #define __MOTR_SNS_CM_HA_H__
26 
27 #include "lib/types.h" /* uint8_t */
28 
34 struct m0_ha_sns_err {
35  uint32_t hse_errcode; /* `int` is not xcodeable */
36  uint8_t hse_opcode;
37 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
38 
39 
40 #endif /* __MOTR_SNS_CM_HA_H__ */
41 
42 
uint8_t hse_opcode
Definition: ha.h:36
enum m0_conf_ha_service_event M0_XCA_DOMAIN
uint32_t hse_errcode
Definition: ha.h:35