2 BCU SDK bcu development enviroment
3 Copyright (C) 2005-2007 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #include "my_strings.h"
28 typedef unsigned long utype
;
36 typedef Array
< Map
> IdentMap
;
37 typedef Array
< int >IntArray
;
38 typedef Array
< String
> IdentArray
;
39 typedef Array
< String
> StringArray
;
40 typedef unsigned short eibaddr_t
;
41 typedef unsigned short eibpaddr_t
;
42 typedef unsigned short eibgaddr_t
;
43 typedef unsigned long eibkey_t
;
46 { PRIO_LOW
= 0, PRIO_NORMAL
= 1, PRIO_URGENT
= 2, PRIO_SYSTEM
= 3 } prio_t
;
60 KeyMap (int l
, eibkey_t k
)
66 typedef Array
< KeyMap
> KeyMapArray
;
70 #define MAP(A,B) GO_##B=A,
71 #include "GroupObjectType.lst"
78 #include "PropertyType.lst"
84 #define MAP(A,B) BCU_##B=A,
85 #include "BCUType.lst"
91 #define MAP(A,B) TM_##B=A,
92 #include "TimerType.lst"
98 #define MAP(A,B) TM_##B=A,
99 #include "TimerResType.lst"
104 void die (const char *msg
, ...);
105 void warn (const char *msg
, ...);