Line data Source code
1 : /* The following definitions are auto-generated from sbus_codegen_tests.xml */
2 :
3 : #include "util/util.h"
4 : #include "sbus/sssd_dbus.h"
5 : #include "sbus/sssd_dbus_meta.h"
6 : #include "sbus/sssd_dbus_invokers.h"
7 : #include "sbus_codegen_tests_generated.h"
8 :
9 : /* invokes a handler with a 'bu' DBus signature */
10 : static int invoke_bu_method(struct sbus_request *dbus_req, void *function_ptr);
11 :
12 : /* invokes a handler with a 's' DBus signature */
13 : static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr);
14 :
15 : /* invokes a handler with a 'u' DBus signature */
16 : static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr);
17 :
18 : /* invokes a handler with a 'ybnqiuxtdsoayanaqaiauaxatadasao' DBus signature */
19 : static int invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr);
20 :
21 : /* arguments for com.planetexpress.Ship.MoveUniverse */
22 : const struct sbus_arg_meta com_planetexpress_Ship_MoveUniverse__in[] = {
23 : { "smoothly", "b" },
24 : { "speed_factor", "u" },
25 : { NULL, }
26 : };
27 :
28 : /* arguments for com.planetexpress.Ship.MoveUniverse */
29 : const struct sbus_arg_meta com_planetexpress_Ship_MoveUniverse__out[] = {
30 : { "where_we_crashed", "s" },
31 : { NULL, }
32 : };
33 :
34 0 : int com_planetexpress_Ship_MoveUniverse_finish(struct sbus_request *req, const char *arg_where_we_crashed)
35 : {
36 0 : return sbus_request_return_and_finish(req,
37 : DBUS_TYPE_STRING, &arg_where_we_crashed,
38 : DBUS_TYPE_INVALID);
39 : }
40 :
41 : /* arguments for com.planetexpress.Ship.Crash */
42 : const struct sbus_arg_meta com_planetexpress_Ship_crash_now__in[] = {
43 : { "where", "s" },
44 : { NULL, }
45 : };
46 :
47 0 : int com_planetexpress_Ship_crash_now_finish(struct sbus_request *req)
48 : {
49 0 : return sbus_request_return_and_finish(req,
50 : DBUS_TYPE_INVALID);
51 : }
52 :
53 : /* methods for com.planetexpress.Ship */
54 : const struct sbus_method_meta com_planetexpress_Ship__methods[] = {
55 : {
56 : "MoveUniverse", /* name */
57 : com_planetexpress_Ship_MoveUniverse__in,
58 : com_planetexpress_Ship_MoveUniverse__out,
59 : offsetof(struct com_planetexpress_Ship, MoveUniverse),
60 : invoke_bu_method,
61 : },
62 : {
63 : "Crash", /* name */
64 : com_planetexpress_Ship_crash_now__in,
65 : NULL, /* no out_args */
66 : offsetof(struct com_planetexpress_Ship, crash_now),
67 : invoke_s_method,
68 : },
69 : {
70 : "Land", /* name */
71 : NULL, /* no in_args */
72 : NULL, /* no out_args */
73 : offsetof(struct com_planetexpress_Ship, Land),
74 : NULL, /* no invoker */
75 : },
76 : { NULL, }
77 : };
78 :
79 : /* arguments for com.planetexpress.Ship.BecameSentient */
80 : const struct sbus_arg_meta com_planetexpress_Ship_BecameSentient__args[] = {
81 : { "gender", "s" },
82 : { NULL, }
83 : };
84 :
85 : /* signals for com.planetexpress.Ship */
86 : const struct sbus_signal_meta com_planetexpress_Ship__signals[] = {
87 : {
88 : "BecameSentient", /* name */
89 : com_planetexpress_Ship_BecameSentient__args
90 : },
91 : { NULL, }
92 : };
93 :
94 : /* property info for com.planetexpress.Ship */
95 : const struct sbus_property_meta com_planetexpress_Ship__properties[] = {
96 : {
97 : "Color", /* name */
98 : "s", /* type */
99 : SBUS_PROPERTY_READABLE,
100 : offsetof(struct com_planetexpress_Ship, get_Color),
101 : sbus_invoke_get_s,
102 : 0, /* not writable */
103 : NULL, /* no invoker */
104 : },
105 : { NULL, }
106 : };
107 :
108 : /* interface info for com.planetexpress.Ship */
109 : const struct sbus_interface_meta com_planetexpress_Ship_meta = {
110 : "com.planetexpress.Ship", /* name */
111 : com_planetexpress_Ship__methods,
112 : com_planetexpress_Ship__signals,
113 : com_planetexpress_Ship__properties,
114 : sbus_invoke_get_all, /* GetAll invoker */
115 : };
116 :
117 : /* arguments for com.planetexpress.Pilot.Blink */
118 : const struct sbus_arg_meta test_pilot_Blink__in[] = {
119 : { "duration", "u" },
120 : { NULL, }
121 : };
122 :
123 : /* arguments for com.planetexpress.Pilot.Blink */
124 : const struct sbus_arg_meta test_pilot_Blink__out[] = {
125 : { "crashed", "b" },
126 : { NULL, }
127 : };
128 :
129 0 : int test_pilot_Blink_finish(struct sbus_request *req, bool arg_crashed)
130 : {
131 0 : dbus_bool_t cast_crashed = arg_crashed;
132 0 : return sbus_request_return_and_finish(req,
133 : DBUS_TYPE_BOOLEAN, &cast_crashed,
134 : DBUS_TYPE_INVALID);
135 : }
136 :
137 : /* arguments for com.planetexpress.Pilot.Eject */
138 : const struct sbus_arg_meta test_pilot_Eject__in[] = {
139 : { "byte", "y" },
140 : { "boolean", "b" },
141 : { "int16", "n" },
142 : { "uint16", "q" },
143 : { "int32", "i" },
144 : { "uint32", "u" },
145 : { "int64", "x" },
146 : { "uint64", "t" },
147 : { "double", "d" },
148 : { "string", "s" },
149 : { "object_path", "o" },
150 : { "byte_array", "ay" },
151 : { "int16_array", "an" },
152 : { "uint16_array", "aq" },
153 : { "int32_array", "ai" },
154 : { "uint32_array", "au" },
155 : { "int64_array", "ax" },
156 : { "uint64_array", "at" },
157 : { "double_array", "ad" },
158 : { "string_array", "as" },
159 : { "object_path_array", "ao" },
160 : { NULL, }
161 : };
162 :
163 : /* arguments for com.planetexpress.Pilot.Eject */
164 : const struct sbus_arg_meta test_pilot_Eject__out[] = {
165 : { "byte", "y" },
166 : { "boolean", "b" },
167 : { "int16", "n" },
168 : { "uint16", "q" },
169 : { "int32", "i" },
170 : { "uint32", "u" },
171 : { "int64", "x" },
172 : { "uint64", "t" },
173 : { "double", "d" },
174 : { "string", "s" },
175 : { "object_path", "o" },
176 : { "byte_array", "ay" },
177 : { "int16_array", "an" },
178 : { "uint16_array", "aq" },
179 : { "int32_array", "ai" },
180 : { "uint32_array", "au" },
181 : { "int64_array", "ax" },
182 : { "uint64_array", "at" },
183 : { "double_array", "ad" },
184 : { "string_array", "as" },
185 : { "object_path_array", "ao" },
186 : { NULL, }
187 : };
188 :
189 0 : int test_pilot_Eject_finish(struct sbus_request *req, uint8_t arg_byte, bool arg_boolean, int16_t arg_int16, uint16_t arg_uint16, int32_t arg_int32, uint32_t arg_uint32, int64_t arg_int64, uint64_t arg_uint64, double arg_double, const char *arg_string, const char *arg_object_path, uint8_t arg_byte_array[], int len_byte_array, int16_t arg_int16_array[], int len_int16_array, uint16_t arg_uint16_array[], int len_uint16_array, int32_t arg_int32_array[], int len_int32_array, uint32_t arg_uint32_array[], int len_uint32_array, int64_t arg_int64_array[], int len_int64_array, uint64_t arg_uint64_array[], int len_uint64_array, double arg_double_array[], int len_double_array, const char *arg_string_array[], int len_string_array, const char *arg_object_path_array[], int len_object_path_array)
190 : {
191 0 : dbus_bool_t cast_boolean = arg_boolean;
192 0 : return sbus_request_return_and_finish(req,
193 : DBUS_TYPE_BYTE, &arg_byte,
194 : DBUS_TYPE_BOOLEAN, &cast_boolean,
195 : DBUS_TYPE_INT16, &arg_int16,
196 : DBUS_TYPE_UINT16, &arg_uint16,
197 : DBUS_TYPE_INT32, &arg_int32,
198 : DBUS_TYPE_UINT32, &arg_uint32,
199 : DBUS_TYPE_INT64, &arg_int64,
200 : DBUS_TYPE_UINT64, &arg_uint64,
201 : DBUS_TYPE_DOUBLE, &arg_double,
202 : DBUS_TYPE_STRING, &arg_string,
203 : DBUS_TYPE_OBJECT_PATH, &arg_object_path,
204 : DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE, &arg_byte_array, len_byte_array,
205 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT16, &arg_int16_array, len_int16_array,
206 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT16, &arg_uint16_array, len_uint16_array,
207 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &arg_int32_array, len_int32_array,
208 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT32, &arg_uint32_array, len_uint32_array,
209 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT64, &arg_int64_array, len_int64_array,
210 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT64, &arg_uint64_array, len_uint64_array,
211 : DBUS_TYPE_ARRAY, DBUS_TYPE_DOUBLE, &arg_double_array, len_double_array,
212 : DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_string_array, len_string_array,
213 : DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_object_path_array, len_object_path_array,
214 : DBUS_TYPE_INVALID);
215 : }
216 :
217 : /* methods for com.planetexpress.Pilot */
218 : const struct sbus_method_meta test_pilot__methods[] = {
219 : {
220 : "Blink", /* name */
221 : test_pilot_Blink__in,
222 : test_pilot_Blink__out,
223 : offsetof(struct test_pilot, Blink),
224 : invoke_u_method,
225 : },
226 : {
227 : "Eject", /* name */
228 : test_pilot_Eject__in,
229 : test_pilot_Eject__out,
230 : offsetof(struct test_pilot, Eject),
231 : invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method,
232 : },
233 : { NULL, }
234 : };
235 :
236 : /* property info for com.planetexpress.Pilot */
237 : const struct sbus_property_meta test_pilot__properties[] = {
238 : {
239 : "FullName", /* name */
240 : "s", /* type */
241 : SBUS_PROPERTY_READABLE | SBUS_PROPERTY_WRITABLE,
242 : offsetof(struct test_pilot, get_FullName),
243 : sbus_invoke_get_s,
244 : 0, /* not writable */
245 : NULL, /* no invoker */
246 : },
247 : {
248 : "byte", /* name */
249 : "y", /* type */
250 : SBUS_PROPERTY_READABLE,
251 : offsetof(struct test_pilot, get_byte),
252 : sbus_invoke_get_y,
253 : 0, /* not writable */
254 : NULL, /* no invoker */
255 : },
256 : {
257 : "boolean", /* name */
258 : "b", /* type */
259 : SBUS_PROPERTY_READABLE,
260 : offsetof(struct test_pilot, get_boolean),
261 : sbus_invoke_get_b,
262 : 0, /* not writable */
263 : NULL, /* no invoker */
264 : },
265 : {
266 : "int16", /* name */
267 : "n", /* type */
268 : SBUS_PROPERTY_READABLE,
269 : offsetof(struct test_pilot, get_int16),
270 : sbus_invoke_get_n,
271 : 0, /* not writable */
272 : NULL, /* no invoker */
273 : },
274 : {
275 : "uint16", /* name */
276 : "q", /* type */
277 : SBUS_PROPERTY_READABLE,
278 : offsetof(struct test_pilot, get_uint16),
279 : sbus_invoke_get_q,
280 : 0, /* not writable */
281 : NULL, /* no invoker */
282 : },
283 : {
284 : "int32", /* name */
285 : "i", /* type */
286 : SBUS_PROPERTY_READABLE,
287 : offsetof(struct test_pilot, get_int32),
288 : sbus_invoke_get_i,
289 : 0, /* not writable */
290 : NULL, /* no invoker */
291 : },
292 : {
293 : "uint32", /* name */
294 : "u", /* type */
295 : SBUS_PROPERTY_READABLE,
296 : offsetof(struct test_pilot, get_uint32),
297 : sbus_invoke_get_u,
298 : 0, /* not writable */
299 : NULL, /* no invoker */
300 : },
301 : {
302 : "int64", /* name */
303 : "x", /* type */
304 : SBUS_PROPERTY_READABLE,
305 : offsetof(struct test_pilot, get_int64),
306 : sbus_invoke_get_x,
307 : 0, /* not writable */
308 : NULL, /* no invoker */
309 : },
310 : {
311 : "uint64", /* name */
312 : "t", /* type */
313 : SBUS_PROPERTY_READABLE,
314 : offsetof(struct test_pilot, get_uint64),
315 : sbus_invoke_get_t,
316 : 0, /* not writable */
317 : NULL, /* no invoker */
318 : },
319 : {
320 : "double", /* name */
321 : "d", /* type */
322 : SBUS_PROPERTY_READABLE,
323 : offsetof(struct test_pilot, get_double),
324 : sbus_invoke_get_d,
325 : 0, /* not writable */
326 : NULL, /* no invoker */
327 : },
328 : {
329 : "string", /* name */
330 : "s", /* type */
331 : SBUS_PROPERTY_READABLE,
332 : offsetof(struct test_pilot, get_string),
333 : sbus_invoke_get_s,
334 : 0, /* not writable */
335 : NULL, /* no invoker */
336 : },
337 : {
338 : "object_path", /* name */
339 : "o", /* type */
340 : SBUS_PROPERTY_READABLE,
341 : offsetof(struct test_pilot, get_object_path),
342 : sbus_invoke_get_o,
343 : 0, /* not writable */
344 : NULL, /* no invoker */
345 : },
346 : {
347 : "null_string", /* name */
348 : "s", /* type */
349 : SBUS_PROPERTY_READABLE,
350 : offsetof(struct test_pilot, get_null_string),
351 : sbus_invoke_get_s,
352 : 0, /* not writable */
353 : NULL, /* no invoker */
354 : },
355 : {
356 : "null_path", /* name */
357 : "o", /* type */
358 : SBUS_PROPERTY_READABLE,
359 : offsetof(struct test_pilot, get_null_path),
360 : sbus_invoke_get_o,
361 : 0, /* not writable */
362 : NULL, /* no invoker */
363 : },
364 : {
365 : "byte_array", /* name */
366 : "ay", /* type */
367 : SBUS_PROPERTY_READABLE,
368 : offsetof(struct test_pilot, get_byte_array),
369 : sbus_invoke_get_ay,
370 : 0, /* not writable */
371 : NULL, /* no invoker */
372 : },
373 : {
374 : "int16_array", /* name */
375 : "an", /* type */
376 : SBUS_PROPERTY_READABLE,
377 : offsetof(struct test_pilot, get_int16_array),
378 : sbus_invoke_get_an,
379 : 0, /* not writable */
380 : NULL, /* no invoker */
381 : },
382 : {
383 : "uint16_array", /* name */
384 : "aq", /* type */
385 : SBUS_PROPERTY_READABLE,
386 : offsetof(struct test_pilot, get_uint16_array),
387 : sbus_invoke_get_aq,
388 : 0, /* not writable */
389 : NULL, /* no invoker */
390 : },
391 : {
392 : "int32_array", /* name */
393 : "ai", /* type */
394 : SBUS_PROPERTY_READABLE,
395 : offsetof(struct test_pilot, get_int32_array),
396 : sbus_invoke_get_ai,
397 : 0, /* not writable */
398 : NULL, /* no invoker */
399 : },
400 : {
401 : "uint32_array", /* name */
402 : "au", /* type */
403 : SBUS_PROPERTY_READABLE,
404 : offsetof(struct test_pilot, get_uint32_array),
405 : sbus_invoke_get_au,
406 : 0, /* not writable */
407 : NULL, /* no invoker */
408 : },
409 : {
410 : "int64_array", /* name */
411 : "ax", /* type */
412 : SBUS_PROPERTY_READABLE,
413 : offsetof(struct test_pilot, get_int64_array),
414 : sbus_invoke_get_ax,
415 : 0, /* not writable */
416 : NULL, /* no invoker */
417 : },
418 : {
419 : "uint64_array", /* name */
420 : "at", /* type */
421 : SBUS_PROPERTY_READABLE,
422 : offsetof(struct test_pilot, get_uint64_array),
423 : sbus_invoke_get_at,
424 : 0, /* not writable */
425 : NULL, /* no invoker */
426 : },
427 : {
428 : "double_array", /* name */
429 : "ad", /* type */
430 : SBUS_PROPERTY_READABLE,
431 : offsetof(struct test_pilot, get_double_array),
432 : sbus_invoke_get_ad,
433 : 0, /* not writable */
434 : NULL, /* no invoker */
435 : },
436 : {
437 : "string_array", /* name */
438 : "as", /* type */
439 : SBUS_PROPERTY_READABLE,
440 : offsetof(struct test_pilot, get_string_array),
441 : sbus_invoke_get_as,
442 : 0, /* not writable */
443 : NULL, /* no invoker */
444 : },
445 : {
446 : "object_path_array", /* name */
447 : "ao", /* type */
448 : SBUS_PROPERTY_READABLE,
449 : offsetof(struct test_pilot, get_object_path_array),
450 : sbus_invoke_get_ao,
451 : 0, /* not writable */
452 : NULL, /* no invoker */
453 : },
454 : { NULL, }
455 : };
456 :
457 : /* interface info for com.planetexpress.Pilot */
458 : const struct sbus_interface_meta test_pilot_meta = {
459 : "com.planetexpress.Pilot", /* name */
460 : test_pilot__methods,
461 : NULL, /* no signals */
462 : test_pilot__properties,
463 : sbus_invoke_get_all, /* GetAll invoker */
464 : };
465 :
466 : /* property info for com.planetexpress.Special */
467 : const struct sbus_property_meta test_special__properties[] = {
468 : {
469 : "array_dict_sas", /* name */
470 : "a{sas}", /* type */
471 : SBUS_PROPERTY_READABLE,
472 : offsetof(struct test_special, get_array_dict_sas),
473 : sbus_invoke_get_aDOsasDE,
474 : 0, /* not writable */
475 : NULL, /* no invoker */
476 : },
477 : { NULL, }
478 : };
479 :
480 : /* interface info for com.planetexpress.Special */
481 : const struct sbus_interface_meta test_special_meta = {
482 : "com.planetexpress.Special", /* name */
483 : NULL, /* no methods */
484 : NULL, /* no signals */
485 : test_special__properties,
486 : sbus_invoke_get_all, /* GetAll invoker */
487 : };
488 :
489 : /* invokes a handler with a 'bu' DBus signature */
490 0 : static int invoke_bu_method(struct sbus_request *dbus_req, void *function_ptr)
491 : {
492 : dbus_bool_t arg_0;
493 : uint32_t arg_1;
494 0 : int (*handler)(struct sbus_request *, void *, bool, uint32_t) = function_ptr;
495 :
496 0 : if (!sbus_request_parse_or_finish(dbus_req,
497 : DBUS_TYPE_BOOLEAN, &arg_0,
498 : DBUS_TYPE_UINT32, &arg_1,
499 : DBUS_TYPE_INVALID)) {
500 0 : return EOK; /* request handled */
501 : }
502 :
503 0 : return (handler)(dbus_req, dbus_req->intf->handler_data,
504 : arg_0,
505 : arg_1);
506 : }
507 :
508 : /* invokes a handler with a 's' DBus signature */
509 0 : static int invoke_s_method(struct sbus_request *dbus_req, void *function_ptr)
510 : {
511 : const char * arg_0;
512 0 : int (*handler)(struct sbus_request *, void *, const char *) = function_ptr;
513 :
514 0 : if (!sbus_request_parse_or_finish(dbus_req,
515 : DBUS_TYPE_STRING, &arg_0,
516 : DBUS_TYPE_INVALID)) {
517 0 : return EOK; /* request handled */
518 : }
519 :
520 0 : return (handler)(dbus_req, dbus_req->intf->handler_data,
521 : arg_0);
522 : }
523 :
524 : /* invokes a handler with a 'u' DBus signature */
525 0 : static int invoke_u_method(struct sbus_request *dbus_req, void *function_ptr)
526 : {
527 : uint32_t arg_0;
528 0 : int (*handler)(struct sbus_request *, void *, uint32_t) = function_ptr;
529 :
530 0 : if (!sbus_request_parse_or_finish(dbus_req,
531 : DBUS_TYPE_UINT32, &arg_0,
532 : DBUS_TYPE_INVALID)) {
533 0 : return EOK; /* request handled */
534 : }
535 :
536 0 : return (handler)(dbus_req, dbus_req->intf->handler_data,
537 : arg_0);
538 : }
539 :
540 : /* invokes a handler with a 'ybnqiuxtdsoayanaqaiauaxatadasao' DBus signature */
541 0 : static int invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr)
542 : {
543 : uint8_t arg_0;
544 : dbus_bool_t arg_1;
545 : int16_t arg_2;
546 : uint16_t arg_3;
547 : int32_t arg_4;
548 : uint32_t arg_5;
549 : int64_t arg_6;
550 : uint64_t arg_7;
551 : double arg_8;
552 : const char * arg_9;
553 : const char * arg_10;
554 : uint8_t *arg_11;
555 : int len_11;
556 : int16_t *arg_12;
557 : int len_12;
558 : uint16_t *arg_13;
559 : int len_13;
560 : int32_t *arg_14;
561 : int len_14;
562 : uint32_t *arg_15;
563 : int len_15;
564 : int64_t *arg_16;
565 : int len_16;
566 : uint64_t *arg_17;
567 : int len_17;
568 : double *arg_18;
569 : int len_18;
570 : const char * *arg_19;
571 : int len_19;
572 : const char * *arg_20;
573 : int len_20;
574 0 : int (*handler)(struct sbus_request *, void *, uint8_t, bool, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, double, const char *, const char *, uint8_t[], int, int16_t[], int, uint16_t[], int, int32_t[], int, uint32_t[], int, int64_t[], int, uint64_t[], int, double[], int, const char *[], int, const char *[], int) = function_ptr;
575 :
576 0 : if (!sbus_request_parse_or_finish(dbus_req,
577 : DBUS_TYPE_BYTE, &arg_0,
578 : DBUS_TYPE_BOOLEAN, &arg_1,
579 : DBUS_TYPE_INT16, &arg_2,
580 : DBUS_TYPE_UINT16, &arg_3,
581 : DBUS_TYPE_INT32, &arg_4,
582 : DBUS_TYPE_UINT32, &arg_5,
583 : DBUS_TYPE_INT64, &arg_6,
584 : DBUS_TYPE_UINT64, &arg_7,
585 : DBUS_TYPE_DOUBLE, &arg_8,
586 : DBUS_TYPE_STRING, &arg_9,
587 : DBUS_TYPE_OBJECT_PATH, &arg_10,
588 : DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE, &arg_11, &len_11,
589 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT16, &arg_12, &len_12,
590 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT16, &arg_13, &len_13,
591 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &arg_14, &len_14,
592 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT32, &arg_15, &len_15,
593 : DBUS_TYPE_ARRAY, DBUS_TYPE_INT64, &arg_16, &len_16,
594 : DBUS_TYPE_ARRAY, DBUS_TYPE_UINT64, &arg_17, &len_17,
595 : DBUS_TYPE_ARRAY, DBUS_TYPE_DOUBLE, &arg_18, &len_18,
596 : DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &arg_19, &len_19,
597 : DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &arg_20, &len_20,
598 : DBUS_TYPE_INVALID)) {
599 0 : return EOK; /* request handled */
600 : }
601 :
602 0 : return (handler)(dbus_req, dbus_req->intf->handler_data,
603 : arg_0,
604 : arg_1,
605 : arg_2,
606 : arg_3,
607 : arg_4,
608 : arg_5,
609 : arg_6,
610 : arg_7,
611 : arg_8,
612 : arg_9,
613 : arg_10,
614 : arg_11,
615 : len_11,
616 : arg_12,
617 : len_12,
618 : arg_13,
619 : len_13,
620 : arg_14,
621 : len_14,
622 : arg_15,
623 : len_15,
624 : arg_16,
625 : len_16,
626 : arg_17,
627 : len_17,
628 : arg_18,
629 : len_18,
630 : arg_19,
631 : len_19,
632 : arg_20,
633 : len_20);
634 : }
|