OpenV2G
EXIConfig.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2018 Siemens AG
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published
6  * by the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 /*******************************************************************
19  *
20  * @author Daniel.Peintner.EXT@siemens.com
21  * @version 2017-03-23
22  * @contact Richard.Kuntschke@siemens.com
23  *
24  * <p>Code generated by EXIdizer</p>
25  * <p>Schema: V2G_CI_MsgDef.xsd</p>
26  *
27  *
28  ********************************************************************/
29 
30 
31 
38 #ifndef EXI_CONFIG_H
39 #define EXI_CONFIG_H
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 
47 #define BYTE_ARRAY 1
48 
49 #define FILE_STREAM 2
50 
54 #define EXI_STREAM BYTE_ARRAY
55 
56 
57 
58 
59 
61 #define STATIC_ALLOCATION 1
62 
63 #define DYNAMIC_ALLOCATION 2
64 
69 #define MEMORY_ALLOCATION STATIC_ALLOCATION
70 
71 
72 
74 #define STRING_REPRESENTATION_ASCII 1
75 
76 #define STRING_REPRESENTATION_UCS 2
77 
82 #define STRING_REPRESENTATION STRING_REPRESENTATION_UCS
83 
84 
85 /* in the case of ASCII an extra char (null terminator) for printf and other functions is useful */
86 #if STRING_REPRESENTATION == STRING_REPRESENTATION_ASCII
87 #define EXTRA_CHAR 1
88 #endif /* STRING_REPRESENTATION_ASCII */
89 #if STRING_REPRESENTATION == STRING_REPRESENTATION_UCS
90 #define EXTRA_CHAR 0
91 #endif /* STRING_REPRESENTATION_UCS */
92 
93 
94 
95 
96 
98 #define EXI_ELEMENT_STACK_SIZE 24
99 
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 
105 #endif /* EXI_CONFIG_H */
106