Python client libary defintions
[bcusdk.git] / eibd / client / python / arg.def
blob75a830b5ed97aaa6e6ad4f592cbdc75298986646
1 EIBC_LICENSE(
2 /*
3 EIBD client library
4 Copyright (C) 2005-2009 Martin Koegler <mkoegler@auto.tuwien.ac.at>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 In addition to the permissions in the GNU General Public License,
12 you may link the compiled version of this file into combinations
13 with other programs, and distribute those combinations without any
14 restriction coming from the use of this file. (The General Public
15 License restrictions do apply in other respects; for example, they
16 cover modification of the file, and distribution when not linked into
17 a combine executable.)
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 #define KAGARG_NONE AGARG_NONE
31 #define KAGARG_BOOL(name, args) printf(", "); AGARG_BOOL(name, args)
32 #define KAGARG_UINT8(name, args) printf(", "); AGARG_UINT8 (name, args)
33 #define KAGARG_UINT8a(name, args) printf(", "); AGARG_UINT8a (name, args)
34 #define KAGARG_UINT8b(name, args) printf(", "); AGARG_UINT8b (name, args)
35 #define KAGARG_UINT16(name, args) printf(", "); AGARG_UINT16 (name, args)
36 #define KAGARG_OUTUINT8(name, args) printf(", "); AGARG_OUTUINT8 (name, args)
37 #define KAGARG_OUTUINT8a(name, args) printf(", "); AGARG_OUTUINT8a (name, args)
38 #define KAGARG_OUTUINT16(name, args) printf(", "); AGARG_OUTUINT16 (name, args)
39 #define KAGARG_OUTINT16(name, args) printf(", "); AGARG_OUTINT16 (name, args)
40 #define KAGARG_ADDR(name, args) printf(", "); AGARG_ADDR (name, args)
41 #define KAGARG_OUTADDR(name, args) printf(", "); AGARG_OUTADDR (name, args)
42 #define KAGARG_OUTADDRa(name, args) printf(", "); AGARG_OUTADDRa (name, args)
43 #define KAGARG_INBUF(name, args) printf(", "); AGARG_INBUF (name, args)
44 #define KAGARG_OUTBUF(name, args) printf(", "); AGARG_OUTBUF (name, args)
45 #define KAGARG_OUTBUF_LEN(name, args) printf(", "); AGARG_OUTBUF_LEN (name, args)
46 #define KAGARG_KEY(name, args) printf(", "); AGARG_KEY (name, args)
48 #define KALARG_NONE ALARG_NONE
49 #define KALARG_BOOL(name, args) printf(", "); ALARG_BOOL (name, args)
50 #define KALARG_UINT8(name, args) printf(", "); ALARG_UINT8 (name, args)
51 #define KALARG_UINT8a(name, args) printf(", "); ALARG_UINT8a (name, args)
52 #define KALARG_UINT8b(name, args) printf(", "); ALARG_UINT8b (name, args)
53 #define KALARG_UINT16(name, args) printf(", "); ALARG_UINT16 (name, args)
54 #define KALARG_OUTUINT8(name, args) printf(", "); ALARG_OUTUINT8 (name, args)
55 #define KALARG_OUTUINT8a(name, args) printf(", "); ALARG_OUTUINT8a (name, args)
56 #define KALARG_OUTUINT16(name, args) printf(", "); ALARG_OUTUINT16 (name, args)
57 #define KALARG_OUTINT16(name, args) printf(", "); ALARG_OUTINT16 (name, args)
58 #define KALARG_ADDR(name, args) printf(", "); ALARG_ADDR (name, args)
59 #define KALARG_OUTADDR(name, args) printf(", "); ALARG_OUTADDR (name, args)
60 #define KALARG_OUTADDRa(name, args) printf(", "); ALARG_OUTADDRa (name, args)
61 #define KALARG_INBUF(name, args) printf(", "); ALARG_INBUF (name, args)
62 #define KALARG_OUTBUF(name, args) printf(", "); ALARG_OUTBUF (name, args)
63 #define KALARG_OUTBUF_LEN(name, args) printf(", "); ALARG_OUTBUF_LEN (name, args)
64 #define KALARG_KEY(name, args) printf(", "); ALARG_KEY (name, args)
66 #define AGARG_NONE
67 #define AGARG_BOOL(name, args) printf("%s", #name); KAG ## args
68 #define AGARG_INBUF(name, args) printf("%s", #name); KAG ## args
69 #define AGARG_OUTBUF(name, args) printf("%s", #name); KAG ## args
70 #define AGARG_OUTBUF_LEN(name, args) printf("%s_len, %s", #name, #name); KAG ## args
71 #define AGARG_OUTADDR(name, args) printf("%s", #name); KAG ## args
72 #define AGARG_OUTADDRa(name, args) printf("%s", #name); KAG ## args
73 #define AGARG_ADDR(name, args) printf("%s", #name); KAG ## args
74 #define AGARG_KEY(name, args) printf("%s", #name); KAG ## args
75 #define AGARG_UINT8(name, args) printf("%s", #name); KAG ## args
76 #define AGARG_UINT8a(name, args) printf("%s", #name); KAG ## args
77 #define AGARG_UINT8b(name, args) printf("%s", #name); KAG ## args
78 #define AGARG_UINT16(name, args) printf("%s", #name); KAG ## args
79 #define AGARG_OUTUINT8(name, args) printf("%s", #name); KAG ## args
80 #define AGARG_OUTUINT8a(name, args) printf("%s", #name); KAG ## args
81 #define AGARG_OUTUINT16(name, args) printf("%s", #name); KAG ## args
82 #define AGARG_OUTINT16(name, args) printf("%s", #name); KAG ## args
84 #define ALARG_NONE
85 #define ALARG_BOOL(name, args) printf("%s", #name); KAL ## args
86 #define ALARG_INBUF(name, args) printf("%s", #name); KAL ## args
87 #define ALARG_OUTBUF(name, args) printf("%s", #name); KAL ## args
88 #define ALARG_OUTBUF_LEN(name, args) printf("%s_len, %s", #name, #name); KAL ## args
89 #define ALARG_OUTADDR(name, args) printf("%s", #name); KAL ## args
90 #define ALARG_OUTADDRa(name, args) printf("%s", #name); KAL ## args
91 #define ALARG_ADDR(name, args) printf("%s", #name); KAL ## args
92 #define ALARG_KEY(name, args) printf("%s", #name); KAL ## args
93 #define ALARG_UINT8(name, args) printf("%s", #name); KAL ## args
94 #define ALARG_UINT8a(name, args) printf("%s", #name); KAL ## args
95 #define ALARG_UINT8b(name, args) printf("%s", #name); KAL ## args
96 #define ALARG_UINT16(name, args) printf("%s", #name); KAL ## args
97 #define ALARG_OUTUINT8(name, args) printf("%s", #name); KAL ## args
98 #define ALARG_OUTUINT8a(name, args) printf("%s", #name); KAL ## args
99 #define ALARG_OUTUINT16(name, args) printf("%s", #name); KAL ## args
100 #define ALARG_OUTINT16(name, args) printf("%s", #name); KAL ## args