Use latest version of conf.d/templates submodule.
[apps/agl-service-unicens.git] / ucs2-lib / inc / ucs_eh_pb.h
1 /*------------------------------------------------------------------------------------------------*/
2 /* UNICENS V2.1.0-3491                                                                            */
3 /* Copyright (c) 2017 Microchip Technology Germany II GmbH & Co. KG.                              */
4 /*                                                                                                */
5 /* This program is free software: you can redistribute it and/or modify                           */
6 /* it under the terms of the GNU General Public License as published by                           */
7 /* the Free Software Foundation, either version 2 of the License, or                              */
8 /* (at your option) any later version.                                                            */
9 /*                                                                                                */
10 /* This program is distributed in the hope that it will be useful,                                */
11 /* but WITHOUT ANY WARRANTY; without even the implied warranty of                                 */
12 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                  */
13 /* GNU General Public License for more details.                                                   */
14 /*                                                                                                */
15 /* You should have received a copy of the GNU General Public License                              */
16 /* along with this program.  If not, see <http://www.gnu.org/licenses/>.                          */
17 /*                                                                                                */
18 /* You may also obtain this software under a propriety license from Microchip.                    */
19 /* Please contact Microchip for further information.                                              */
20 /*------------------------------------------------------------------------------------------------*/
21
22 /*!
23  * \file
24  * \brief Public header file of the event handler.
25  */
26 /*!
27  * \addtogroup G_UCS_INIT_AND_SRV_TYPES
28  * @{
29  */
30
31 #ifndef UCS_EH_PB_H
32 #define UCS_EH_PB_H
33
34 /*------------------------------------------------------------------------------------------------*/
35 /* Includes                                                                                       */
36 /*------------------------------------------------------------------------------------------------*/
37 #include "ucs_rules.h"
38
39 #ifdef __cplusplus
40 extern "C"
41 {
42 #endif
43
44 /*------------------------------------------------------------------------------------------------*/
45 /* Enumerations                                                                                   */
46 /*------------------------------------------------------------------------------------------------*/
47 /*! \brief UNICENS general error codes */
48 typedef enum Ucs_Error_
49 {
50     UCS_GEN_ERR_COMMUNICATION = 1,  /*!< \brief Fatal communication error between EHC and INIC  */
51     UCS_GEN_ERR_INIC          = 2   /*!< \brief INIC internal error */
52
53 } Ucs_Error_t;
54
55 #ifdef __cplusplus
56 }   /* extern "C" */
57 #endif
58
59 #endif  /* #ifndef UCS_EH_PB_H */
60
61 /*! @} */
62
63 /*------------------------------------------------------------------------------------------------*/
64 /* End of file                                                                                    */
65 /*------------------------------------------------------------------------------------------------*/
66