Fix include style
[bcusdk.git] / common / types.h
blobbd739b0e1e69093722381c4cc46c0a36f44f928d
1 /*
2 EIBD eib bus access and management daemon
3 Copyright (C) 2005-2010 Martin Koegler <mkoegler@auto.tuwien.ac.at>
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.
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.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef TYPES_H
21 #define TYPES_H
23 #include <stdint.h>
24 #include "config.h"
25 #include "my_strings.h"
26 #include "array.h"
28 /** unsigned char */
29 typedef uint8_t uchar;
31 /** Array of characters */
32 typedef Array < uchar > CArray;
34 /** EIB address */
35 typedef uint16_t eibaddr_t;
37 /** EIB key */
38 typedef uint32_t eibkey_type;
40 #ifdef USE_NOLIBSTDC
41 #include "libstdc.h"
42 #endif
44 #endif