XROAD
xroad_objects_node_bridge.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "xroad_objects.h"
10 #include <stdarg.h>
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
17 /* xroad_start_t */
18 
19 /* Declarations from xroad_node.h */
20 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
21 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
22 /* End of declarations from xroad_node.h */
23 
24 //--------------------------------------------------------------------------------------------------------------------//
25 static inline xroad_errno_t xroad_start_send(xroad_start_t* obj, const xroad_node_id_t id)
26 {
27  return xroad_node_send_object(obj, id);
28 }
29 
30 //--------------------------------------------------------------------------------------------------------------------//
31 static inline xroad_errno_t xroad_start_route(xroad_start_t* obj, ...)
32 {
33  va_list ap;
34  va_start(ap, obj);
35  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
36  va_end(ap);
37  return res;
38 }
39 
40 /* xroad_stop_t */
41 
42 /* Declarations from xroad_node.h */
43 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
44 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
45 /* End of declarations from xroad_node.h */
46 
47 //--------------------------------------------------------------------------------------------------------------------//
48 static inline xroad_errno_t xroad_stop_send(xroad_stop_t* obj, const xroad_node_id_t id)
49 {
50  return xroad_node_send_object(obj, id);
51 }
52 
53 //--------------------------------------------------------------------------------------------------------------------//
54 static inline xroad_errno_t xroad_stop_route(xroad_stop_t* obj, ...)
55 {
56  va_list ap;
57  va_start(ap, obj);
58  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
59  va_end(ap);
60  return res;
61 }
62 
63 /* xroad_reconfig_t */
64 
65 /* Declarations from xroad_node.h */
66 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
67 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
68 /* End of declarations from xroad_node.h */
69 
70 //--------------------------------------------------------------------------------------------------------------------//
71 static inline xroad_errno_t xroad_reconfig_send(xroad_reconfig_t* obj, const xroad_node_id_t id)
72 {
73  return xroad_node_send_object(obj, id);
74 }
75 
76 //--------------------------------------------------------------------------------------------------------------------//
77 static inline xroad_errno_t xroad_reconfig_route(xroad_reconfig_t* obj, ...)
78 {
79  va_list ap;
80  va_start(ap, obj);
81  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
82  va_end(ap);
83  return res;
84 }
85 
86 /* xroad_activate_t */
87 
88 /* Declarations from xroad_node.h */
89 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
90 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
91 /* End of declarations from xroad_node.h */
92 
93 //--------------------------------------------------------------------------------------------------------------------//
94 static inline xroad_errno_t xroad_activate_send(xroad_activate_t* obj, const xroad_node_id_t id)
95 {
96  return xroad_node_send_object(obj, id);
97 }
98 
99 //--------------------------------------------------------------------------------------------------------------------//
100 static inline xroad_errno_t xroad_activate_route(xroad_activate_t* obj, ...)
101 {
102  va_list ap;
103  va_start(ap, obj);
104  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
105  va_end(ap);
106  return res;
107 }
108 
109 /* xroad_deactivate_t */
110 
111 /* Declarations from xroad_node.h */
112 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
113 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
114 /* End of declarations from xroad_node.h */
115 
116 //--------------------------------------------------------------------------------------------------------------------//
117 static inline xroad_errno_t xroad_deactivate_send(xroad_deactivate_t* obj, const xroad_node_id_t id)
118 {
119  return xroad_node_send_object(obj, id);
120 }
121 
122 //--------------------------------------------------------------------------------------------------------------------//
123 static inline xroad_errno_t xroad_deactivate_route(xroad_deactivate_t* obj, ...)
124 {
125  va_list ap;
126  va_start(ap, obj);
127  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
128  va_end(ap);
129  return res;
130 }
131 
132 /* xroad_date_changed_t */
133 
134 /* Declarations from xroad_node.h */
135 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
136 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
137 /* End of declarations from xroad_node.h */
138 
139 //--------------------------------------------------------------------------------------------------------------------//
140 static inline xroad_errno_t xroad_date_changed_send(xroad_date_changed_t* obj, const xroad_node_id_t id)
141 {
142  return xroad_node_send_object(obj, id);
143 }
144 
145 //--------------------------------------------------------------------------------------------------------------------//
146 static inline xroad_errno_t xroad_date_changed_route(xroad_date_changed_t* obj, ...)
147 {
148  va_list ap;
149  va_start(ap, obj);
150  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
151  va_end(ap);
152  return res;
153 }
154 
155 /* xroad_reset_t */
156 
157 /* Declarations from xroad_node.h */
158 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
159 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
160 /* End of declarations from xroad_node.h */
161 
162 //--------------------------------------------------------------------------------------------------------------------//
163 static inline xroad_errno_t xroad_reset_send(xroad_reset_t* obj, const xroad_node_id_t id)
164 {
165  return xroad_node_send_object(obj, id);
166 }
167 
168 //--------------------------------------------------------------------------------------------------------------------//
169 static inline xroad_errno_t xroad_reset_route(xroad_reset_t* obj, ...)
170 {
171  va_list ap;
172  va_start(ap, obj);
173  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
174  va_end(ap);
175  return res;
176 }
177 
178 /* xroad_alarm_t */
179 
180 /* Declarations from xroad_node.h */
181 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
182 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
183 /* End of declarations from xroad_node.h */
184 
185 //--------------------------------------------------------------------------------------------------------------------//
186 static inline xroad_errno_t xroad_alarm_send(xroad_alarm_t* obj, const xroad_node_id_t id)
187 {
188  return xroad_node_send_object(obj, id);
189 }
190 
191 //--------------------------------------------------------------------------------------------------------------------//
192 static inline xroad_errno_t xroad_alarm_route(xroad_alarm_t* obj, ...)
193 {
194  va_list ap;
195  va_start(ap, obj);
196  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
197  va_end(ap);
198  return res;
199 }
200 
201 /* xroad_node_event_t */
202 
203 /* Declarations from xroad_node.h */
204 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
205 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
206 /* End of declarations from xroad_node.h */
207 
208 //--------------------------------------------------------------------------------------------------------------------//
209 static inline xroad_errno_t xroad_node_event_send(xroad_node_event_t* obj, const xroad_node_id_t id)
210 {
211  return xroad_node_send_object(obj, id);
212 }
213 
214 //--------------------------------------------------------------------------------------------------------------------//
215 static inline xroad_errno_t xroad_node_event_route(xroad_node_event_t* obj, ...)
216 {
217  va_list ap;
218  va_start(ap, obj);
219  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
220  va_end(ap);
221  return res;
222 }
223 
224 /* xroad_ping_t */
225 
226 /* Declarations from xroad_node.h */
227 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
228 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
229 /* End of declarations from xroad_node.h */
230 
231 //--------------------------------------------------------------------------------------------------------------------//
232 static inline xroad_errno_t xroad_ping_send(xroad_ping_t* obj, const xroad_node_id_t id)
233 {
234  return xroad_node_send_object(obj, id);
235 }
236 
237 //--------------------------------------------------------------------------------------------------------------------//
238 static inline xroad_errno_t xroad_ping_route(xroad_ping_t* obj, ...)
239 {
240  va_list ap;
241  va_start(ap, obj);
242  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
243  va_end(ap);
244  return res;
245 }
246 
247 /* xroad_alarm_enable_t */
248 
249 /* Declarations from xroad_node.h */
250 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
251 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
252 /* End of declarations from xroad_node.h */
253 
254 //--------------------------------------------------------------------------------------------------------------------//
255 static inline xroad_errno_t xroad_alarm_enable_send(xroad_alarm_enable_t* obj, const xroad_node_id_t id)
256 {
257  return xroad_node_send_object(obj, id);
258 }
259 
260 //--------------------------------------------------------------------------------------------------------------------//
261 static inline xroad_errno_t xroad_alarm_enable_route(xroad_alarm_enable_t* obj, ...)
262 {
263  va_list ap;
264  va_start(ap, obj);
265  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
266  va_end(ap);
267  return res;
268 }
269 
270 /* xroad_pong_t */
271 
272 /* Declarations from xroad_node.h */
273 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
274 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
275 /* End of declarations from xroad_node.h */
276 
277 //--------------------------------------------------------------------------------------------------------------------//
278 static inline xroad_errno_t xroad_pong_send(xroad_pong_t* obj, const xroad_node_id_t id)
279 {
280  return xroad_node_send_object(obj, id);
281 }
282 
283 //--------------------------------------------------------------------------------------------------------------------//
284 static inline xroad_errno_t xroad_pong_route(xroad_pong_t* obj, ...)
285 {
286  va_list ap;
287  va_start(ap, obj);
288  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
289  va_end(ap);
290  return res;
291 }
292 
293 /* xroad_currency_t */
294 
295 /* Declarations from xroad_node.h */
296 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
297 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
298 /* End of declarations from xroad_node.h */
299 
300 //--------------------------------------------------------------------------------------------------------------------//
301 static inline xroad_errno_t xroad_currency_send(xroad_currency_t* obj, const xroad_node_id_t id)
302 {
303  return xroad_node_send_object(obj, id);
304 }
305 
306 //--------------------------------------------------------------------------------------------------------------------//
307 static inline xroad_errno_t xroad_currency_route(xroad_currency_t* obj, ...)
308 {
309  va_list ap;
310  va_start(ap, obj);
311  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
312  va_end(ap);
313  return res;
314 }
315 
316 /* xroad_exchange_t */
317 
318 /* Declarations from xroad_node.h */
319 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
320 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
321 /* End of declarations from xroad_node.h */
322 
323 //--------------------------------------------------------------------------------------------------------------------//
324 static inline xroad_errno_t xroad_exchange_send(xroad_exchange_t* obj, const xroad_node_id_t id)
325 {
326  return xroad_node_send_object(obj, id);
327 }
328 
329 //--------------------------------------------------------------------------------------------------------------------//
330 static inline xroad_errno_t xroad_exchange_route(xroad_exchange_t* obj, ...)
331 {
332  va_list ap;
333  va_start(ap, obj);
334  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
335  va_end(ap);
336  return res;
337 }
338 
339 /* xroad_fix_session_t */
340 
341 /* Declarations from xroad_node.h */
342 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
343 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
344 /* End of declarations from xroad_node.h */
345 
346 //--------------------------------------------------------------------------------------------------------------------//
347 static inline xroad_errno_t xroad_fix_session_send(xroad_fix_session_t* obj, const xroad_node_id_t id)
348 {
349  return xroad_node_send_object(obj, id);
350 }
351 
352 //--------------------------------------------------------------------------------------------------------------------//
353 static inline xroad_errno_t xroad_fix_session_route(xroad_fix_session_t* obj, ...)
354 {
355  va_list ap;
356  va_start(ap, obj);
357  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
358  va_end(ap);
359  return res;
360 }
361 
362 /* xroad_order_t */
363 
364 /* Declarations from xroad_node.h */
365 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
366 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
367 /* End of declarations from xroad_node.h */
368 
369 //--------------------------------------------------------------------------------------------------------------------//
370 static inline xroad_errno_t xroad_order_send(xroad_order_t* obj, const xroad_node_id_t id)
371 {
372  return xroad_node_send_object(obj, id);
373 }
374 
375 //--------------------------------------------------------------------------------------------------------------------//
376 static inline xroad_errno_t xroad_order_route(xroad_order_t* obj, ...)
377 {
378  va_list ap;
379  va_start(ap, obj);
380  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
381  va_end(ap);
382  return res;
383 }
384 
385 /* xroad_pos_t */
386 
387 /* Declarations from xroad_node.h */
388 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
389 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
390 /* End of declarations from xroad_node.h */
391 
392 //--------------------------------------------------------------------------------------------------------------------//
393 static inline xroad_errno_t xroad_pos_send(xroad_pos_t* obj, const xroad_node_id_t id)
394 {
395  return xroad_node_send_object(obj, id);
396 }
397 
398 //--------------------------------------------------------------------------------------------------------------------//
399 static inline xroad_errno_t xroad_pos_route(xroad_pos_t* obj, ...)
400 {
401  va_list ap;
402  va_start(ap, obj);
403  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
404  va_end(ap);
405  return res;
406 }
407 
408 /* xroad_order_stat_t */
409 
410 /* Declarations from xroad_node.h */
411 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
412 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
413 /* End of declarations from xroad_node.h */
414 
415 //--------------------------------------------------------------------------------------------------------------------//
416 static inline xroad_errno_t xroad_order_stat_send(xroad_order_stat_t* obj, const xroad_node_id_t id)
417 {
418  return xroad_node_send_object(obj, id);
419 }
420 
421 //--------------------------------------------------------------------------------------------------------------------//
422 static inline xroad_errno_t xroad_order_stat_route(xroad_order_stat_t* obj, ...)
423 {
424  va_list ap;
425  va_start(ap, obj);
426  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
427  va_end(ap);
428  return res;
429 }
430 
431 /* xroad_iceberg_t */
432 
433 /* Declarations from xroad_node.h */
434 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
435 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
436 /* End of declarations from xroad_node.h */
437 
438 //--------------------------------------------------------------------------------------------------------------------//
439 static inline xroad_errno_t xroad_iceberg_send(xroad_iceberg_t* obj, const xroad_node_id_t id)
440 {
441  return xroad_node_send_object(obj, id);
442 }
443 
444 //--------------------------------------------------------------------------------------------------------------------//
445 static inline xroad_errno_t xroad_iceberg_route(xroad_iceberg_t* obj, ...)
446 {
447  va_list ap;
448  va_start(ap, obj);
449  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
450  va_end(ap);
451  return res;
452 }
453 
454 /* xroad_twap_t */
455 
456 /* Declarations from xroad_node.h */
457 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
458 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
459 /* End of declarations from xroad_node.h */
460 
461 //--------------------------------------------------------------------------------------------------------------------//
462 static inline xroad_errno_t xroad_twap_send(xroad_twap_t* obj, const xroad_node_id_t id)
463 {
464  return xroad_node_send_object(obj, id);
465 }
466 
467 //--------------------------------------------------------------------------------------------------------------------//
468 static inline xroad_errno_t xroad_twap_route(xroad_twap_t* obj, ...)
469 {
470  va_list ap;
471  va_start(ap, obj);
472  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
473  va_end(ap);
474  return res;
475 }
476 
477 /* xroad_pov_t */
478 
479 /* Declarations from xroad_node.h */
480 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
481 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
482 /* End of declarations from xroad_node.h */
483 
484 //--------------------------------------------------------------------------------------------------------------------//
485 static inline xroad_errno_t xroad_pov_send(xroad_pov_t* obj, const xroad_node_id_t id)
486 {
487  return xroad_node_send_object(obj, id);
488 }
489 
490 //--------------------------------------------------------------------------------------------------------------------//
491 static inline xroad_errno_t xroad_pov_route(xroad_pov_t* obj, ...)
492 {
493  va_list ap;
494  va_start(ap, obj);
495  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
496  va_end(ap);
497  return res;
498 }
499 
500 /* xroad_vwap_t */
501 
502 /* Declarations from xroad_node.h */
503 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
504 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
505 /* End of declarations from xroad_node.h */
506 
507 //--------------------------------------------------------------------------------------------------------------------//
508 static inline xroad_errno_t xroad_vwap_send(xroad_vwap_t* obj, const xroad_node_id_t id)
509 {
510  return xroad_node_send_object(obj, id);
511 }
512 
513 //--------------------------------------------------------------------------------------------------------------------//
514 static inline xroad_errno_t xroad_vwap_route(xroad_vwap_t* obj, ...)
515 {
516  va_list ap;
517  va_start(ap, obj);
518  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
519  va_end(ap);
520  return res;
521 }
522 
523 /* xroad_instr_t */
524 
525 /* Declarations from xroad_node.h */
526 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
527 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
528 /* End of declarations from xroad_node.h */
529 
530 //--------------------------------------------------------------------------------------------------------------------//
531 static inline xroad_errno_t xroad_instr_send(xroad_instr_t* obj, const xroad_node_id_t id)
532 {
533  return xroad_node_send_object(obj, id);
534 }
535 
536 //--------------------------------------------------------------------------------------------------------------------//
537 static inline xroad_errno_t xroad_instr_route(xroad_instr_t* obj, ...)
538 {
539  va_list ap;
540  va_start(ap, obj);
541  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
542  va_end(ap);
543  return res;
544 }
545 
546 /* xroad_tick_info_t */
547 
548 /* Declarations from xroad_node.h */
549 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
550 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
551 /* End of declarations from xroad_node.h */
552 
553 //--------------------------------------------------------------------------------------------------------------------//
554 static inline xroad_errno_t xroad_tick_info_send(xroad_tick_info_t* obj, const xroad_node_id_t id)
555 {
556  return xroad_node_send_object(obj, id);
557 }
558 
559 //--------------------------------------------------------------------------------------------------------------------//
560 static inline xroad_errno_t xroad_tick_info_route(xroad_tick_info_t* obj, ...)
561 {
562  va_list ap;
563  va_start(ap, obj);
564  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
565  va_end(ap);
566  return res;
567 }
568 
569 /* xroad_timesheet_t */
570 
571 /* Declarations from xroad_node.h */
572 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
573 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
574 /* End of declarations from xroad_node.h */
575 
576 //--------------------------------------------------------------------------------------------------------------------//
577 static inline xroad_errno_t xroad_timesheet_send(xroad_timesheet_t* obj, const xroad_node_id_t id)
578 {
579  return xroad_node_send_object(obj, id);
580 }
581 
582 //--------------------------------------------------------------------------------------------------------------------//
583 static inline xroad_errno_t xroad_timesheet_route(xroad_timesheet_t* obj, ...)
584 {
585  va_list ap;
586  va_start(ap, obj);
587  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
588  va_end(ap);
589  return res;
590 }
591 
592 /* xroad_mdstat_t */
593 
594 /* Declarations from xroad_node.h */
595 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
596 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
597 /* End of declarations from xroad_node.h */
598 
599 //--------------------------------------------------------------------------------------------------------------------//
600 static inline xroad_errno_t xroad_mdstat_send(xroad_mdstat_t* obj, const xroad_node_id_t id)
601 {
602  return xroad_node_send_object(obj, id);
603 }
604 
605 //--------------------------------------------------------------------------------------------------------------------//
606 static inline xroad_errno_t xroad_mdstat_route(xroad_mdstat_t* obj, ...)
607 {
608  va_list ap;
609  va_start(ap, obj);
610  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
611  va_end(ap);
612  return res;
613 }
614 
615 /* xroad_order_sql_t */
616 
617 /* Declarations from xroad_node.h */
618 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
619 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
620 /* End of declarations from xroad_node.h */
621 
622 //--------------------------------------------------------------------------------------------------------------------//
623 static inline xroad_errno_t xroad_order_sql_send(xroad_order_sql_t* obj, const xroad_node_id_t id)
624 {
625  return xroad_node_send_object(obj, id);
626 }
627 
628 //--------------------------------------------------------------------------------------------------------------------//
629 static inline xroad_errno_t xroad_order_sql_route(xroad_order_sql_t* obj, ...)
630 {
631  va_list ap;
632  va_start(ap, obj);
633  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
634  va_end(ap);
635  return res;
636 }
637 
638 /* xroad_cancel_sql_t */
639 
640 /* Declarations from xroad_node.h */
641 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
642 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
643 /* End of declarations from xroad_node.h */
644 
645 //--------------------------------------------------------------------------------------------------------------------//
646 static inline xroad_errno_t xroad_cancel_sql_send(xroad_cancel_sql_t* obj, const xroad_node_id_t id)
647 {
648  return xroad_node_send_object(obj, id);
649 }
650 
651 //--------------------------------------------------------------------------------------------------------------------//
652 static inline xroad_errno_t xroad_cancel_sql_route(xroad_cancel_sql_t* obj, ...)
653 {
654  va_list ap;
655  va_start(ap, obj);
656  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
657  va_end(ap);
658  return res;
659 }
660 
661 /* xroad_replace_sql_t */
662 
663 /* Declarations from xroad_node.h */
664 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
665 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
666 /* End of declarations from xroad_node.h */
667 
668 //--------------------------------------------------------------------------------------------------------------------//
669 static inline xroad_errno_t xroad_replace_sql_send(xroad_replace_sql_t* obj, const xroad_node_id_t id)
670 {
671  return xroad_node_send_object(obj, id);
672 }
673 
674 //--------------------------------------------------------------------------------------------------------------------//
675 static inline xroad_errno_t xroad_replace_sql_route(xroad_replace_sql_t* obj, ...)
676 {
677  va_list ap;
678  va_start(ap, obj);
679  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
680  va_end(ap);
681  return res;
682 }
683 
684 /* xroad_order_rabbit_t */
685 
686 /* Declarations from xroad_node.h */
687 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
688 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
689 /* End of declarations from xroad_node.h */
690 
691 //--------------------------------------------------------------------------------------------------------------------//
692 static inline xroad_errno_t xroad_order_rabbit_send(xroad_order_rabbit_t* obj, const xroad_node_id_t id)
693 {
694  return xroad_node_send_object(obj, id);
695 }
696 
697 //--------------------------------------------------------------------------------------------------------------------//
698 static inline xroad_errno_t xroad_order_rabbit_route(xroad_order_rabbit_t* obj, ...)
699 {
700  va_list ap;
701  va_start(ap, obj);
702  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
703  va_end(ap);
704  return res;
705 }
706 
707 /* xroad_rake_t */
708 
709 /* Declarations from xroad_node.h */
710 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
711 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
712 /* End of declarations from xroad_node.h */
713 
714 //--------------------------------------------------------------------------------------------------------------------//
715 static inline xroad_errno_t xroad_rake_send(xroad_rake_t* obj, const xroad_node_id_t id)
716 {
717  return xroad_node_send_object(obj, id);
718 }
719 
720 //--------------------------------------------------------------------------------------------------------------------//
721 static inline xroad_errno_t xroad_rake_route(xroad_rake_t* obj, ...)
722 {
723  va_list ap;
724  va_start(ap, obj);
725  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
726  va_end(ap);
727  return res;
728 }
729 
730 /* xroad_stealth_t */
731 
732 /* Declarations from xroad_node.h */
733 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
734 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
735 /* End of declarations from xroad_node.h */
736 
737 //--------------------------------------------------------------------------------------------------------------------//
738 static inline xroad_errno_t xroad_stealth_send(xroad_stealth_t* obj, const xroad_node_id_t id)
739 {
740  return xroad_node_send_object(obj, id);
741 }
742 
743 //--------------------------------------------------------------------------------------------------------------------//
744 static inline xroad_errno_t xroad_stealth_route(xroad_stealth_t* obj, ...)
745 {
746  va_list ap;
747  va_start(ap, obj);
748  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
749  va_end(ap);
750  return res;
751 }
752 
753 /* xroad_spread_t */
754 
755 /* Declarations from xroad_node.h */
756 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
757 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
758 /* End of declarations from xroad_node.h */
759 
760 //--------------------------------------------------------------------------------------------------------------------//
761 static inline xroad_errno_t xroad_spread_send(xroad_spread_t* obj, const xroad_node_id_t id)
762 {
763  return xroad_node_send_object(obj, id);
764 }
765 
766 //--------------------------------------------------------------------------------------------------------------------//
767 static inline xroad_errno_t xroad_spread_route(xroad_spread_t* obj, ...)
768 {
769  va_list ap;
770  va_start(ap, obj);
771  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
772  va_end(ap);
773  return res;
774 }
775 
776 /* xroad_leg_t */
777 
778 /* Declarations from xroad_node.h */
779 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
780 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
781 /* End of declarations from xroad_node.h */
782 
783 //--------------------------------------------------------------------------------------------------------------------//
784 static inline xroad_errno_t xroad_leg_send(xroad_leg_t* obj, const xroad_node_id_t id)
785 {
786  return xroad_node_send_object(obj, id);
787 }
788 
789 //--------------------------------------------------------------------------------------------------------------------//
790 static inline xroad_errno_t xroad_leg_route(xroad_leg_t* obj, ...)
791 {
792  va_list ap;
793  va_start(ap, obj);
794  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
795  va_end(ap);
796  return res;
797 }
798 
799 /* xroad_spread_trade_t */
800 
801 /* Declarations from xroad_node.h */
802 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
803 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
804 /* End of declarations from xroad_node.h */
805 
806 //--------------------------------------------------------------------------------------------------------------------//
807 static inline xroad_errno_t xroad_spread_trade_send(xroad_spread_trade_t* obj, const xroad_node_id_t id)
808 {
809  return xroad_node_send_object(obj, id);
810 }
811 
812 //--------------------------------------------------------------------------------------------------------------------//
813 static inline xroad_errno_t xroad_spread_trade_route(xroad_spread_trade_t* obj, ...)
814 {
815  va_list ap;
816  va_start(ap, obj);
817  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
818  va_end(ap);
819  return res;
820 }
821 
822 /* xroad_cgate_session_t */
823 
824 /* Declarations from xroad_node.h */
825 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
826 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
827 /* End of declarations from xroad_node.h */
828 
829 //--------------------------------------------------------------------------------------------------------------------//
830 static inline xroad_errno_t xroad_cgate_session_send(xroad_cgate_session_t* obj, const xroad_node_id_t id)
831 {
832  return xroad_node_send_object(obj, id);
833 }
834 
835 //--------------------------------------------------------------------------------------------------------------------//
836 static inline xroad_errno_t xroad_cgate_session_route(xroad_cgate_session_t* obj, ...)
837 {
838  va_list ap;
839  va_start(ap, obj);
840  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
841  va_end(ap);
842  return res;
843 }
844 
845 /* xroad_cgate_table_t */
846 
847 /* Declarations from xroad_node.h */
848 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
849 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
850 /* End of declarations from xroad_node.h */
851 
852 //--------------------------------------------------------------------------------------------------------------------//
853 static inline xroad_errno_t xroad_cgate_table_send(xroad_cgate_table_t* obj, const xroad_node_id_t id)
854 {
855  return xroad_node_send_object(obj, id);
856 }
857 
858 //--------------------------------------------------------------------------------------------------------------------//
859 static inline xroad_errno_t xroad_cgate_table_route(xroad_cgate_table_t* obj, ...)
860 {
861  va_list ap;
862  va_start(ap, obj);
863  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
864  va_end(ap);
865  return res;
866 }
867 
868 /* xroad_cgate_order_t */
869 
870 /* Declarations from xroad_node.h */
871 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
872 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
873 /* End of declarations from xroad_node.h */
874 
875 //--------------------------------------------------------------------------------------------------------------------//
876 static inline xroad_errno_t xroad_cgate_order_send(xroad_cgate_order_t* obj, const xroad_node_id_t id)
877 {
878  return xroad_node_send_object(obj, id);
879 }
880 
881 //--------------------------------------------------------------------------------------------------------------------//
882 static inline xroad_errno_t xroad_cgate_order_route(xroad_cgate_order_t* obj, ...)
883 {
884  va_list ap;
885  va_start(ap, obj);
886  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
887  va_end(ap);
888  return res;
889 }
890 
891 /* xroad_obj_uuid_t */
892 
893 /* Declarations from xroad_node.h */
894 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
895 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
896 /* End of declarations from xroad_node.h */
897 
898 //--------------------------------------------------------------------------------------------------------------------//
899 static inline xroad_errno_t xroad_obj_uuid_send(xroad_obj_uuid_t* obj, const xroad_node_id_t id)
900 {
901  return xroad_node_send_object(obj, id);
902 }
903 
904 //--------------------------------------------------------------------------------------------------------------------//
905 static inline xroad_errno_t xroad_obj_uuid_route(xroad_obj_uuid_t* obj, ...)
906 {
907  va_list ap;
908  va_start(ap, obj);
909  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
910  va_end(ap);
911  return res;
912 }
913 
914 /* xroad_message_t */
915 
916 /* Declarations from xroad_node.h */
917 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
918 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
919 /* End of declarations from xroad_node.h */
920 
921 //--------------------------------------------------------------------------------------------------------------------//
922 static inline xroad_errno_t xroad_message_send(xroad_message_t* obj, const xroad_node_id_t id)
923 {
924  return xroad_node_send_object(obj, id);
925 }
926 
927 //--------------------------------------------------------------------------------------------------------------------//
928 static inline xroad_errno_t xroad_message_route(xroad_message_t* obj, ...)
929 {
930  va_list ap;
931  va_start(ap, obj);
932  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
933  va_end(ap);
934  return res;
935 }
936 
937 /* xroad_order_fix_t */
938 
939 /* Declarations from xroad_node.h */
940 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
941 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
942 /* End of declarations from xroad_node.h */
943 
944 //--------------------------------------------------------------------------------------------------------------------//
945 static inline xroad_errno_t xroad_order_fix_send(xroad_order_fix_t* obj, const xroad_node_id_t id)
946 {
947  return xroad_node_send_object(obj, id);
948 }
949 
950 //--------------------------------------------------------------------------------------------------------------------//
951 static inline xroad_errno_t xroad_order_fix_route(xroad_order_fix_t* obj, ...)
952 {
953  va_list ap;
954  va_start(ap, obj);
955  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
956  va_end(ap);
957  return res;
958 }
959 
960 /* xroad_fix_msg_in_t */
961 
962 /* Declarations from xroad_node.h */
963 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
964 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
965 /* End of declarations from xroad_node.h */
966 
967 //--------------------------------------------------------------------------------------------------------------------//
968 static inline xroad_errno_t xroad_fix_msg_in_send(xroad_fix_msg_in_t* obj, const xroad_node_id_t id)
969 {
970  return xroad_node_send_object(obj, id);
971 }
972 
973 //--------------------------------------------------------------------------------------------------------------------//
974 static inline xroad_errno_t xroad_fix_msg_in_route(xroad_fix_msg_in_t* obj, ...)
975 {
976  va_list ap;
977  va_start(ap, obj);
978  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
979  va_end(ap);
980  return res;
981 }
982 
983 /* xroad_fix_msg_out_t */
984 
985 /* Declarations from xroad_node.h */
986 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
987 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
988 /* End of declarations from xroad_node.h */
989 
990 //--------------------------------------------------------------------------------------------------------------------//
991 static inline xroad_errno_t xroad_fix_msg_out_send(xroad_fix_msg_out_t* obj, const xroad_node_id_t id)
992 {
993  return xroad_node_send_object(obj, id);
994 }
995 
996 //--------------------------------------------------------------------------------------------------------------------//
997 static inline xroad_errno_t xroad_fix_msg_out_route(xroad_fix_msg_out_t* obj, ...)
998 {
999  va_list ap;
1000  va_start(ap, obj);
1001  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1002  va_end(ap);
1003  return res;
1004 }
1005 
1006 /* xroad_trade_fix_t */
1007 
1008 /* Declarations from xroad_node.h */
1009 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1010 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1011 /* End of declarations from xroad_node.h */
1012 
1013 //--------------------------------------------------------------------------------------------------------------------//
1014 static inline xroad_errno_t xroad_trade_fix_send(xroad_trade_fix_t* obj, const xroad_node_id_t id)
1015 {
1016  return xroad_node_send_object(obj, id);
1017 }
1018 
1019 //--------------------------------------------------------------------------------------------------------------------//
1020 static inline xroad_errno_t xroad_trade_fix_route(xroad_trade_fix_t* obj, ...)
1021 {
1022  va_list ap;
1023  va_start(ap, obj);
1024  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1025  va_end(ap);
1026  return res;
1027 }
1028 
1029 /* xroad_lock_by_pid_t */
1030 
1031 /* Declarations from xroad_node.h */
1032 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1033 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1034 /* End of declarations from xroad_node.h */
1035 
1036 //--------------------------------------------------------------------------------------------------------------------//
1037 static inline xroad_errno_t xroad_lock_by_pid_send(xroad_lock_by_pid_t* obj, const xroad_node_id_t id)
1038 {
1039  return xroad_node_send_object(obj, id);
1040 }
1041 
1042 //--------------------------------------------------------------------------------------------------------------------//
1043 static inline xroad_errno_t xroad_lock_by_pid_route(xroad_lock_by_pid_t* obj, ...)
1044 {
1045  va_list ap;
1046  va_start(ap, obj);
1047  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1048  va_end(ap);
1049  return res;
1050 }
1051 
1052 /* xroad_system_role_changed_t */
1053 
1054 /* Declarations from xroad_node.h */
1055 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1056 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1057 /* End of declarations from xroad_node.h */
1058 
1059 //--------------------------------------------------------------------------------------------------------------------//
1060 static inline xroad_errno_t xroad_system_role_changed_send(xroad_system_role_changed_t* obj, const xroad_node_id_t id)
1061 {
1062  return xroad_node_send_object(obj, id);
1063 }
1064 
1065 //--------------------------------------------------------------------------------------------------------------------//
1066 static inline xroad_errno_t xroad_system_role_changed_route(xroad_system_role_changed_t* obj, ...)
1067 {
1068  va_list ap;
1069  va_start(ap, obj);
1070  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1071  va_end(ap);
1072  return res;
1073 }
1074 
1075 /* xroad_cancel_t */
1076 
1077 /* Declarations from xroad_node.h */
1078 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1079 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1080 /* End of declarations from xroad_node.h */
1081 
1082 //--------------------------------------------------------------------------------------------------------------------//
1083 static inline xroad_errno_t xroad_cancel_send(xroad_cancel_t* obj, const xroad_node_id_t id)
1084 {
1085  return xroad_node_send_object(obj, id);
1086 }
1087 
1088 //--------------------------------------------------------------------------------------------------------------------//
1089 static inline xroad_errno_t xroad_cancel_route(xroad_cancel_t* obj, ...)
1090 {
1091  va_list ap;
1092  va_start(ap, obj);
1093  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1094  va_end(ap);
1095  return res;
1096 }
1097 
1098 /* xroad_mass_cancel_t */
1099 
1100 /* Declarations from xroad_node.h */
1101 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1102 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1103 /* End of declarations from xroad_node.h */
1104 
1105 //--------------------------------------------------------------------------------------------------------------------//
1106 static inline xroad_errno_t xroad_mass_cancel_send(xroad_mass_cancel_t* obj, const xroad_node_id_t id)
1107 {
1108  return xroad_node_send_object(obj, id);
1109 }
1110 
1111 //--------------------------------------------------------------------------------------------------------------------//
1112 static inline xroad_errno_t xroad_mass_cancel_route(xroad_mass_cancel_t* obj, ...)
1113 {
1114  va_list ap;
1115  va_start(ap, obj);
1116  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1117  va_end(ap);
1118  return res;
1119 }
1120 
1121 /* xroad_remove_t */
1122 
1123 /* Declarations from xroad_node.h */
1124 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1125 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1126 /* End of declarations from xroad_node.h */
1127 
1128 //--------------------------------------------------------------------------------------------------------------------//
1129 static inline xroad_errno_t xroad_remove_send(xroad_remove_t* obj, const xroad_node_id_t id)
1130 {
1131  return xroad_node_send_object(obj, id);
1132 }
1133 
1134 //--------------------------------------------------------------------------------------------------------------------//
1135 static inline xroad_errno_t xroad_remove_route(xroad_remove_t* obj, ...)
1136 {
1137  va_list ap;
1138  va_start(ap, obj);
1139  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1140  va_end(ap);
1141  return res;
1142 }
1143 
1144 /* xroad_replace_t */
1145 
1146 /* Declarations from xroad_node.h */
1147 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1148 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1149 /* End of declarations from xroad_node.h */
1150 
1151 //--------------------------------------------------------------------------------------------------------------------//
1152 static inline xroad_errno_t xroad_replace_send(xroad_replace_t* obj, const xroad_node_id_t id)
1153 {
1154  return xroad_node_send_object(obj, id);
1155 }
1156 
1157 //--------------------------------------------------------------------------------------------------------------------//
1158 static inline xroad_errno_t xroad_replace_route(xroad_replace_t* obj, ...)
1159 {
1160  va_list ap;
1161  va_start(ap, obj);
1162  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1163  va_end(ap);
1164  return res;
1165 }
1166 
1167 /* xroad_accepted_t */
1168 
1169 /* Declarations from xroad_node.h */
1170 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1171 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1172 /* End of declarations from xroad_node.h */
1173 
1174 //--------------------------------------------------------------------------------------------------------------------//
1175 static inline xroad_errno_t xroad_accepted_send(xroad_accepted_t* obj, const xroad_node_id_t id)
1176 {
1177  return xroad_node_send_object(obj, id);
1178 }
1179 
1180 //--------------------------------------------------------------------------------------------------------------------//
1181 static inline xroad_errno_t xroad_accepted_route(xroad_accepted_t* obj, ...)
1182 {
1183  va_list ap;
1184  va_start(ap, obj);
1185  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1186  va_end(ap);
1187  return res;
1188 }
1189 
1190 /* xroad_rejected_t */
1191 
1192 /* Declarations from xroad_node.h */
1193 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1194 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1195 /* End of declarations from xroad_node.h */
1196 
1197 //--------------------------------------------------------------------------------------------------------------------//
1198 static inline xroad_errno_t xroad_rejected_send(xroad_rejected_t* obj, const xroad_node_id_t id)
1199 {
1200  return xroad_node_send_object(obj, id);
1201 }
1202 
1203 //--------------------------------------------------------------------------------------------------------------------//
1204 static inline xroad_errno_t xroad_rejected_route(xroad_rejected_t* obj, ...)
1205 {
1206  va_list ap;
1207  va_start(ap, obj);
1208  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1209  va_end(ap);
1210  return res;
1211 }
1212 
1213 /* xroad_canceled_t */
1214 
1215 /* Declarations from xroad_node.h */
1216 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1217 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1218 /* End of declarations from xroad_node.h */
1219 
1220 //--------------------------------------------------------------------------------------------------------------------//
1221 static inline xroad_errno_t xroad_canceled_send(xroad_canceled_t* obj, const xroad_node_id_t id)
1222 {
1223  return xroad_node_send_object(obj, id);
1224 }
1225 
1226 //--------------------------------------------------------------------------------------------------------------------//
1227 static inline xroad_errno_t xroad_canceled_route(xroad_canceled_t* obj, ...)
1228 {
1229  va_list ap;
1230  va_start(ap, obj);
1231  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1232  va_end(ap);
1233  return res;
1234 }
1235 
1236 /* xroad_trade_t */
1237 
1238 /* Declarations from xroad_node.h */
1239 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1240 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1241 /* End of declarations from xroad_node.h */
1242 
1243 //--------------------------------------------------------------------------------------------------------------------//
1244 static inline xroad_errno_t xroad_trade_send(xroad_trade_t* obj, const xroad_node_id_t id)
1245 {
1246  return xroad_node_send_object(obj, id);
1247 }
1248 
1249 //--------------------------------------------------------------------------------------------------------------------//
1250 static inline xroad_errno_t xroad_trade_route(xroad_trade_t* obj, ...)
1251 {
1252  va_list ap;
1253  va_start(ap, obj);
1254  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1255  va_end(ap);
1256  return res;
1257 }
1258 
1259 /* xroad_cancel_rejected_t */
1260 
1261 /* Declarations from xroad_node.h */
1262 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1263 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1264 /* End of declarations from xroad_node.h */
1265 
1266 //--------------------------------------------------------------------------------------------------------------------//
1267 static inline xroad_errno_t xroad_cancel_rejected_send(xroad_cancel_rejected_t* obj, const xroad_node_id_t id)
1268 {
1269  return xroad_node_send_object(obj, id);
1270 }
1271 
1272 //--------------------------------------------------------------------------------------------------------------------//
1273 static inline xroad_errno_t xroad_cancel_rejected_route(xroad_cancel_rejected_t* obj, ...)
1274 {
1275  va_list ap;
1276  va_start(ap, obj);
1277  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1278  va_end(ap);
1279  return res;
1280 }
1281 
1282 /* xroad_replace_rejected_t */
1283 
1284 /* Declarations from xroad_node.h */
1285 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1286 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1287 /* End of declarations from xroad_node.h */
1288 
1289 //--------------------------------------------------------------------------------------------------------------------//
1290 static inline xroad_errno_t xroad_replace_rejected_send(xroad_replace_rejected_t* obj, const xroad_node_id_t id)
1291 {
1292  return xroad_node_send_object(obj, id);
1293 }
1294 
1295 //--------------------------------------------------------------------------------------------------------------------//
1296 static inline xroad_errno_t xroad_replace_rejected_route(xroad_replace_rejected_t* obj, ...)
1297 {
1298  va_list ap;
1299  va_start(ap, obj);
1300  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1301  va_end(ap);
1302  return res;
1303 }
1304 
1305 /* xroad_replaced_t */
1306 
1307 /* Declarations from xroad_node.h */
1308 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1309 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1310 /* End of declarations from xroad_node.h */
1311 
1312 //--------------------------------------------------------------------------------------------------------------------//
1313 static inline xroad_errno_t xroad_replaced_send(xroad_replaced_t* obj, const xroad_node_id_t id)
1314 {
1315  return xroad_node_send_object(obj, id);
1316 }
1317 
1318 //--------------------------------------------------------------------------------------------------------------------//
1319 static inline xroad_errno_t xroad_replaced_route(xroad_replaced_t* obj, ...)
1320 {
1321  va_list ap;
1322  va_start(ap, obj);
1323  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1324  va_end(ap);
1325  return res;
1326 }
1327 
1328 /* xroad_subscribe_t */
1329 
1330 /* Declarations from xroad_node.h */
1331 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1332 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1333 /* End of declarations from xroad_node.h */
1334 
1335 //--------------------------------------------------------------------------------------------------------------------//
1336 static inline xroad_errno_t xroad_subscribe_send(xroad_subscribe_t* obj, const xroad_node_id_t id)
1337 {
1338  return xroad_node_send_object(obj, id);
1339 }
1340 
1341 //--------------------------------------------------------------------------------------------------------------------//
1342 static inline xroad_errno_t xroad_subscribe_route(xroad_subscribe_t* obj, ...)
1343 {
1344  va_list ap;
1345  va_start(ap, obj);
1346  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1347  va_end(ap);
1348  return res;
1349 }
1350 
1351 /* xroad_unsubscribe_t */
1352 
1353 /* Declarations from xroad_node.h */
1354 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1355 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1356 /* End of declarations from xroad_node.h */
1357 
1358 //--------------------------------------------------------------------------------------------------------------------//
1359 static inline xroad_errno_t xroad_unsubscribe_send(xroad_unsubscribe_t* obj, const xroad_node_id_t id)
1360 {
1361  return xroad_node_send_object(obj, id);
1362 }
1363 
1364 //--------------------------------------------------------------------------------------------------------------------//
1365 static inline xroad_errno_t xroad_unsubscribe_route(xroad_unsubscribe_t* obj, ...)
1366 {
1367  va_list ap;
1368  va_start(ap, obj);
1369  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1370  va_end(ap);
1371  return res;
1372 }
1373 
1374 /* xroad_update_t */
1375 
1376 /* Declarations from xroad_node.h */
1377 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1378 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1379 /* End of declarations from xroad_node.h */
1380 
1381 //--------------------------------------------------------------------------------------------------------------------//
1382 static inline xroad_errno_t xroad_update_send(xroad_update_t* obj, const xroad_node_id_t id)
1383 {
1384  return xroad_node_send_object(obj, id);
1385 }
1386 
1387 //--------------------------------------------------------------------------------------------------------------------//
1388 static inline xroad_errno_t xroad_update_route(xroad_update_t* obj, ...)
1389 {
1390  va_list ap;
1391  va_start(ap, obj);
1392  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1393  va_end(ap);
1394  return res;
1395 }
1396 
1397 /* xroad_money_limit_t */
1398 
1399 /* Declarations from xroad_node.h */
1400 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1401 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1402 /* End of declarations from xroad_node.h */
1403 
1404 //--------------------------------------------------------------------------------------------------------------------//
1405 static inline xroad_errno_t xroad_money_limit_send(xroad_money_limit_t* obj, const xroad_node_id_t id)
1406 {
1407  return xroad_node_send_object(obj, id);
1408 }
1409 
1410 //--------------------------------------------------------------------------------------------------------------------//
1411 static inline xroad_errno_t xroad_money_limit_route(xroad_money_limit_t* obj, ...)
1412 {
1413  va_list ap;
1414  va_start(ap, obj);
1415  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1416  va_end(ap);
1417  return res;
1418 }
1419 
1420 /* xroad_order_limit_t */
1421 
1422 /* Declarations from xroad_node.h */
1423 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1424 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1425 /* End of declarations from xroad_node.h */
1426 
1427 //--------------------------------------------------------------------------------------------------------------------//
1428 static inline xroad_errno_t xroad_order_limit_send(xroad_order_limit_t* obj, const xroad_node_id_t id)
1429 {
1430  return xroad_node_send_object(obj, id);
1431 }
1432 
1433 //--------------------------------------------------------------------------------------------------------------------//
1434 static inline xroad_errno_t xroad_order_limit_route(xroad_order_limit_t* obj, ...)
1435 {
1436  va_list ap;
1437  va_start(ap, obj);
1438  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1439  va_end(ap);
1440  return res;
1441 }
1442 
1443 /* xroad_security_short_t */
1444 
1445 /* Declarations from xroad_node.h */
1446 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1447 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1448 /* End of declarations from xroad_node.h */
1449 
1450 //--------------------------------------------------------------------------------------------------------------------//
1451 static inline xroad_errno_t xroad_security_short_send(xroad_security_short_t* obj, const xroad_node_id_t id)
1452 {
1453  return xroad_node_send_object(obj, id);
1454 }
1455 
1456 //--------------------------------------------------------------------------------------------------------------------//
1457 static inline xroad_errno_t xroad_security_short_route(xroad_security_short_t* obj, ...)
1458 {
1459  va_list ap;
1460  va_start(ap, obj);
1461  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1462  va_end(ap);
1463  return res;
1464 }
1465 
1466 /* xroad_client_short_t */
1467 
1468 /* Declarations from xroad_node.h */
1469 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1470 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1471 /* End of declarations from xroad_node.h */
1472 
1473 //--------------------------------------------------------------------------------------------------------------------//
1474 static inline xroad_errno_t xroad_client_short_send(xroad_client_short_t* obj, const xroad_node_id_t id)
1475 {
1476  return xroad_node_send_object(obj, id);
1477 }
1478 
1479 //--------------------------------------------------------------------------------------------------------------------//
1480 static inline xroad_errno_t xroad_client_short_route(xroad_client_short_t* obj, ...)
1481 {
1482  va_list ap;
1483  va_start(ap, obj);
1484  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1485  va_end(ap);
1486  return res;
1487 }
1488 
1489 /* xroad_opt_mm_t */
1490 
1491 /* Declarations from xroad_node.h */
1492 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1493 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1494 /* End of declarations from xroad_node.h */
1495 
1496 //--------------------------------------------------------------------------------------------------------------------//
1497 static inline xroad_errno_t xroad_opt_mm_send(xroad_opt_mm_t* obj, const xroad_node_id_t id)
1498 {
1499  return xroad_node_send_object(obj, id);
1500 }
1501 
1502 //--------------------------------------------------------------------------------------------------------------------//
1503 static inline xroad_errno_t xroad_opt_mm_route(xroad_opt_mm_t* obj, ...)
1504 {
1505  va_list ap;
1506  va_start(ap, obj);
1507  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1508  va_end(ap);
1509  return res;
1510 }
1511 
1512 /* xroad_field_t */
1513 
1514 /* Declarations from xroad_node.h */
1515 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1516 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1517 /* End of declarations from xroad_node.h */
1518 
1519 //--------------------------------------------------------------------------------------------------------------------//
1520 static inline xroad_errno_t xroad_field_send(xroad_field_t* obj, const xroad_node_id_t id)
1521 {
1522  return xroad_node_send_object(obj, id);
1523 }
1524 
1525 //--------------------------------------------------------------------------------------------------------------------//
1526 static inline xroad_errno_t xroad_field_route(xroad_field_t* obj, ...)
1527 {
1528  va_list ap;
1529  va_start(ap, obj);
1530  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1531  va_end(ap);
1532  return res;
1533 }
1534 
1535 /* xroad_prop_t */
1536 
1537 /* Declarations from xroad_node.h */
1538 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1539 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1540 /* End of declarations from xroad_node.h */
1541 
1542 //--------------------------------------------------------------------------------------------------------------------//
1543 static inline xroad_errno_t xroad_prop_send(xroad_prop_t* obj, const xroad_node_id_t id)
1544 {
1545  return xroad_node_send_object(obj, id);
1546 }
1547 
1548 //--------------------------------------------------------------------------------------------------------------------//
1549 static inline xroad_errno_t xroad_prop_route(xroad_prop_t* obj, ...)
1550 {
1551  va_list ap;
1552  va_start(ap, obj);
1553  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1554  va_end(ap);
1555  return res;
1556 }
1557 
1558 /* xroad_prop_row_t */
1559 
1560 /* Declarations from xroad_node.h */
1561 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1562 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1563 /* End of declarations from xroad_node.h */
1564 
1565 //--------------------------------------------------------------------------------------------------------------------//
1566 static inline xroad_errno_t xroad_prop_row_send(xroad_prop_row_t* obj, const xroad_node_id_t id)
1567 {
1568  return xroad_node_send_object(obj, id);
1569 }
1570 
1571 //--------------------------------------------------------------------------------------------------------------------//
1572 static inline xroad_errno_t xroad_prop_row_route(xroad_prop_row_t* obj, ...)
1573 {
1574  va_list ap;
1575  va_start(ap, obj);
1576  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1577  va_end(ap);
1578  return res;
1579 }
1580 
1581 /* xroad_mmaker_t */
1582 
1583 /* Declarations from xroad_node.h */
1584 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1585 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1586 /* End of declarations from xroad_node.h */
1587 
1588 //--------------------------------------------------------------------------------------------------------------------//
1589 static inline xroad_errno_t xroad_mmaker_send(xroad_mmaker_t* obj, const xroad_node_id_t id)
1590 {
1591  return xroad_node_send_object(obj, id);
1592 }
1593 
1594 //--------------------------------------------------------------------------------------------------------------------//
1595 static inline xroad_errno_t xroad_mmaker_route(xroad_mmaker_t* obj, ...)
1596 {
1597  va_list ap;
1598  va_start(ap, obj);
1599  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1600  va_end(ap);
1601  return res;
1602 }
1603 
1604 /* xroad_sniper_t */
1605 
1606 /* Declarations from xroad_node.h */
1607 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1608 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1609 /* End of declarations from xroad_node.h */
1610 
1611 //--------------------------------------------------------------------------------------------------------------------//
1612 static inline xroad_errno_t xroad_sniper_send(xroad_sniper_t* obj, const xroad_node_id_t id)
1613 {
1614  return xroad_node_send_object(obj, id);
1615 }
1616 
1617 //--------------------------------------------------------------------------------------------------------------------//
1618 static inline xroad_errno_t xroad_sniper_route(xroad_sniper_t* obj, ...)
1619 {
1620  va_list ap;
1621  va_start(ap, obj);
1622  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1623  va_end(ap);
1624  return res;
1625 }
1626 
1627 /* xroad_pmaker_t */
1628 
1629 /* Declarations from xroad_node.h */
1630 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1631 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1632 /* End of declarations from xroad_node.h */
1633 
1634 //--------------------------------------------------------------------------------------------------------------------//
1635 static inline xroad_errno_t xroad_pmaker_send(xroad_pmaker_t* obj, const xroad_node_id_t id)
1636 {
1637  return xroad_node_send_object(obj, id);
1638 }
1639 
1640 //--------------------------------------------------------------------------------------------------------------------//
1641 static inline xroad_errno_t xroad_pmaker_route(xroad_pmaker_t* obj, ...)
1642 {
1643  va_list ap;
1644  va_start(ap, obj);
1645  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1646  va_end(ap);
1647  return res;
1648 }
1649 
1650 /* xroad_trd_capt_t */
1651 
1652 /* Declarations from xroad_node.h */
1653 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1654 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1655 /* End of declarations from xroad_node.h */
1656 
1657 //--------------------------------------------------------------------------------------------------------------------//
1658 static inline xroad_errno_t xroad_trd_capt_send(xroad_trd_capt_t* obj, const xroad_node_id_t id)
1659 {
1660  return xroad_node_send_object(obj, id);
1661 }
1662 
1663 //--------------------------------------------------------------------------------------------------------------------//
1664 static inline xroad_errno_t xroad_trd_capt_route(xroad_trd_capt_t* obj, ...)
1665 {
1666  va_list ap;
1667  va_start(ap, obj);
1668  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1669  va_end(ap);
1670  return res;
1671 }
1672 
1673 /* xroad_props_t */
1674 
1675 /* Declarations from xroad_node.h */
1676 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1677 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1678 /* End of declarations from xroad_node.h */
1679 
1680 //--------------------------------------------------------------------------------------------------------------------//
1681 static inline xroad_errno_t xroad_props_send(xroad_props_t* obj, const xroad_node_id_t id)
1682 {
1683  return xroad_node_send_object(obj, id);
1684 }
1685 
1686 //--------------------------------------------------------------------------------------------------------------------//
1687 static inline xroad_errno_t xroad_props_route(xroad_props_t* obj, ...)
1688 {
1689  va_list ap;
1690  va_start(ap, obj);
1691  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1692  va_end(ap);
1693  return res;
1694 }
1695 
1696 /* xroad_resolve_t */
1697 
1698 /* Declarations from xroad_node.h */
1699 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1700 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1701 /* End of declarations from xroad_node.h */
1702 
1703 //--------------------------------------------------------------------------------------------------------------------//
1704 static inline xroad_errno_t xroad_resolve_send(xroad_resolve_t* obj, const xroad_node_id_t id)
1705 {
1706  return xroad_node_send_object(obj, id);
1707 }
1708 
1709 //--------------------------------------------------------------------------------------------------------------------//
1710 static inline xroad_errno_t xroad_resolve_route(xroad_resolve_t* obj, ...)
1711 {
1712  va_list ap;
1713  va_start(ap, obj);
1714  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1715  va_end(ap);
1716  return res;
1717 }
1718 
1719 /* xroad_resolve_ack_t */
1720 
1721 /* Declarations from xroad_node.h */
1722 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1723 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1724 /* End of declarations from xroad_node.h */
1725 
1726 //--------------------------------------------------------------------------------------------------------------------//
1727 static inline xroad_errno_t xroad_resolve_ack_send(xroad_resolve_ack_t* obj, const xroad_node_id_t id)
1728 {
1729  return xroad_node_send_object(obj, id);
1730 }
1731 
1732 //--------------------------------------------------------------------------------------------------------------------//
1733 static inline xroad_errno_t xroad_resolve_ack_route(xroad_resolve_ack_t* obj, ...)
1734 {
1735  va_list ap;
1736  va_start(ap, obj);
1737  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1738  va_end(ap);
1739  return res;
1740 }
1741 
1742 /* xroad_prop_changed_t */
1743 
1744 /* Declarations from xroad_node.h */
1745 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1746 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1747 /* End of declarations from xroad_node.h */
1748 
1749 //--------------------------------------------------------------------------------------------------------------------//
1750 static inline xroad_errno_t xroad_prop_changed_send(xroad_prop_changed_t* obj, const xroad_node_id_t id)
1751 {
1752  return xroad_node_send_object(obj, id);
1753 }
1754 
1755 //--------------------------------------------------------------------------------------------------------------------//
1756 static inline xroad_errno_t xroad_prop_changed_route(xroad_prop_changed_t* obj, ...)
1757 {
1758  va_list ap;
1759  va_start(ap, obj);
1760  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1761  va_end(ap);
1762  return res;
1763 }
1764 
1765 /* xroad_prop_batch_update_t */
1766 
1767 /* Declarations from xroad_node.h */
1768 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1769 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1770 /* End of declarations from xroad_node.h */
1771 
1772 //--------------------------------------------------------------------------------------------------------------------//
1773 static inline xroad_errno_t xroad_prop_batch_update_send(xroad_prop_batch_update_t* obj, const xroad_node_id_t id)
1774 {
1775  return xroad_node_send_object(obj, id);
1776 }
1777 
1778 //--------------------------------------------------------------------------------------------------------------------//
1779 static inline xroad_errno_t xroad_prop_batch_update_route(xroad_prop_batch_update_t* obj, ...)
1780 {
1781  va_list ap;
1782  va_start(ap, obj);
1783  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1784  va_end(ap);
1785  return res;
1786 }
1787 
1788 /* xroad_mdata_subs_t */
1789 
1790 /* Declarations from xroad_node.h */
1791 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1792 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1793 /* End of declarations from xroad_node.h */
1794 
1795 //--------------------------------------------------------------------------------------------------------------------//
1796 static inline xroad_errno_t xroad_mdata_subs_send(xroad_mdata_subs_t* obj, const xroad_node_id_t id)
1797 {
1798  return xroad_node_send_object(obj, id);
1799 }
1800 
1801 //--------------------------------------------------------------------------------------------------------------------//
1802 static inline xroad_errno_t xroad_mdata_subs_route(xroad_mdata_subs_t* obj, ...)
1803 {
1804  va_list ap;
1805  va_start(ap, obj);
1806  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1807  va_end(ap);
1808  return res;
1809 }
1810 
1811 /* xroad_reload_t */
1812 
1813 /* Declarations from xroad_node.h */
1814 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1815 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1816 /* End of declarations from xroad_node.h */
1817 
1818 //--------------------------------------------------------------------------------------------------------------------//
1819 static inline xroad_errno_t xroad_reload_send(xroad_reload_t* obj, const xroad_node_id_t id)
1820 {
1821  return xroad_node_send_object(obj, id);
1822 }
1823 
1824 //--------------------------------------------------------------------------------------------------------------------//
1825 static inline xroad_errno_t xroad_reload_route(xroad_reload_t* obj, ...)
1826 {
1827  va_list ap;
1828  va_start(ap, obj);
1829  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1830  va_end(ap);
1831  return res;
1832 }
1833 
1834 /* xroad_sbe_session_t */
1835 
1836 /* Declarations from xroad_node.h */
1837 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1838 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1839 /* End of declarations from xroad_node.h */
1840 
1841 //--------------------------------------------------------------------------------------------------------------------//
1842 static inline xroad_errno_t xroad_sbe_session_send(xroad_sbe_session_t* obj, const xroad_node_id_t id)
1843 {
1844  return xroad_node_send_object(obj, id);
1845 }
1846 
1847 //--------------------------------------------------------------------------------------------------------------------//
1848 static inline xroad_errno_t xroad_sbe_session_route(xroad_sbe_session_t* obj, ...)
1849 {
1850  va_list ap;
1851  va_start(ap, obj);
1852  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1853  va_end(ap);
1854  return res;
1855 }
1856 
1857 /* xroad_order_crypto_t */
1858 
1859 /* Declarations from xroad_node.h */
1860 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1861 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1862 /* End of declarations from xroad_node.h */
1863 
1864 //--------------------------------------------------------------------------------------------------------------------//
1865 static inline xroad_errno_t xroad_order_crypto_send(xroad_order_crypto_t* obj, const xroad_node_id_t id)
1866 {
1867  return xroad_node_send_object(obj, id);
1868 }
1869 
1870 //--------------------------------------------------------------------------------------------------------------------//
1871 static inline xroad_errno_t xroad_order_crypto_route(xroad_order_crypto_t* obj, ...)
1872 {
1873  va_list ap;
1874  va_start(ap, obj);
1875  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1876  va_end(ap);
1877  return res;
1878 }
1879 
1880 /* xroad_crypto_session_t */
1881 
1882 /* Declarations from xroad_node.h */
1883 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1884 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1885 /* End of declarations from xroad_node.h */
1886 
1887 //--------------------------------------------------------------------------------------------------------------------//
1888 static inline xroad_errno_t xroad_crypto_session_send(xroad_crypto_session_t* obj, const xroad_node_id_t id)
1889 {
1890  return xroad_node_send_object(obj, id);
1891 }
1892 
1893 //--------------------------------------------------------------------------------------------------------------------//
1894 static inline xroad_errno_t xroad_crypto_session_route(xroad_crypto_session_t* obj, ...)
1895 {
1896  va_list ap;
1897  va_start(ap, obj);
1898  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1899  va_end(ap);
1900  return res;
1901 }
1902 
1903 /* xroad_acc_pos_t */
1904 
1905 /* Declarations from xroad_node.h */
1906 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1907 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1908 /* End of declarations from xroad_node.h */
1909 
1910 //--------------------------------------------------------------------------------------------------------------------//
1911 static inline xroad_errno_t xroad_acc_pos_send(xroad_acc_pos_t* obj, const xroad_node_id_t id)
1912 {
1913  return xroad_node_send_object(obj, id);
1914 }
1915 
1916 //--------------------------------------------------------------------------------------------------------------------//
1917 static inline xroad_errno_t xroad_acc_pos_route(xroad_acc_pos_t* obj, ...)
1918 {
1919  va_list ap;
1920  va_start(ap, obj);
1921  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1922  va_end(ap);
1923  return res;
1924 }
1925 
1926 /* xroad_acc_balance_t */
1927 
1928 /* Declarations from xroad_node.h */
1929 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1930 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1931 /* End of declarations from xroad_node.h */
1932 
1933 //--------------------------------------------------------------------------------------------------------------------//
1934 static inline xroad_errno_t xroad_acc_balance_send(xroad_acc_balance_t* obj, const xroad_node_id_t id)
1935 {
1936  return xroad_node_send_object(obj, id);
1937 }
1938 
1939 //--------------------------------------------------------------------------------------------------------------------//
1940 static inline xroad_errno_t xroad_acc_balance_route(xroad_acc_balance_t* obj, ...)
1941 {
1942  va_list ap;
1943  va_start(ap, obj);
1944  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1945  va_end(ap);
1946  return res;
1947 }
1948 
1949 /* xroad_order_ws_t */
1950 
1951 /* Declarations from xroad_node.h */
1952 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1953 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1954 /* End of declarations from xroad_node.h */
1955 
1956 //--------------------------------------------------------------------------------------------------------------------//
1957 static inline xroad_errno_t xroad_order_ws_send(xroad_order_ws_t* obj, const xroad_node_id_t id)
1958 {
1959  return xroad_node_send_object(obj, id);
1960 }
1961 
1962 //--------------------------------------------------------------------------------------------------------------------//
1963 static inline xroad_errno_t xroad_order_ws_route(xroad_order_ws_t* obj, ...)
1964 {
1965  va_list ap;
1966  va_start(ap, obj);
1967  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1968  va_end(ap);
1969  return res;
1970 }
1971 
1972 /* xroad_order_sbe_t */
1973 
1974 /* Declarations from xroad_node.h */
1975 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1976 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
1977 /* End of declarations from xroad_node.h */
1978 
1979 //--------------------------------------------------------------------------------------------------------------------//
1980 static inline xroad_errno_t xroad_order_sbe_send(xroad_order_sbe_t* obj, const xroad_node_id_t id)
1981 {
1982  return xroad_node_send_object(obj, id);
1983 }
1984 
1985 //--------------------------------------------------------------------------------------------------------------------//
1986 static inline xroad_errno_t xroad_order_sbe_route(xroad_order_sbe_t* obj, ...)
1987 {
1988  va_list ap;
1989  va_start(ap, obj);
1990  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
1991  va_end(ap);
1992  return res;
1993 }
1994 
1995 /* xroad_pmaker_total_t */
1996 
1997 /* Declarations from xroad_node.h */
1998 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
1999 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2000 /* End of declarations from xroad_node.h */
2001 
2002 //--------------------------------------------------------------------------------------------------------------------//
2003 static inline xroad_errno_t xroad_pmaker_total_send(xroad_pmaker_total_t* obj, const xroad_node_id_t id)
2004 {
2005  return xroad_node_send_object(obj, id);
2006 }
2007 
2008 //--------------------------------------------------------------------------------------------------------------------//
2009 static inline xroad_errno_t xroad_pmaker_total_route(xroad_pmaker_total_t* obj, ...)
2010 {
2011  va_list ap;
2012  va_start(ap, obj);
2013  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2014  va_end(ap);
2015  return res;
2016 }
2017 
2018 /* xroad_cancel_all_t */
2019 
2020 /* Declarations from xroad_node.h */
2021 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2022 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2023 /* End of declarations from xroad_node.h */
2024 
2025 //--------------------------------------------------------------------------------------------------------------------//
2026 static inline xroad_errno_t xroad_cancel_all_send(xroad_cancel_all_t* obj, const xroad_node_id_t id)
2027 {
2028  return xroad_node_send_object(obj, id);
2029 }
2030 
2031 //--------------------------------------------------------------------------------------------------------------------//
2032 static inline xroad_errno_t xroad_cancel_all_route(xroad_cancel_all_t* obj, ...)
2033 {
2034  va_list ap;
2035  va_start(ap, obj);
2036  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2037  va_end(ap);
2038  return res;
2039 }
2040 
2041 /* xroad_pos_reset_t */
2042 
2043 /* Declarations from xroad_node.h */
2044 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2045 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2046 /* End of declarations from xroad_node.h */
2047 
2048 //--------------------------------------------------------------------------------------------------------------------//
2049 static inline xroad_errno_t xroad_pos_reset_send(xroad_pos_reset_t* obj, const xroad_node_id_t id)
2050 {
2051  return xroad_node_send_object(obj, id);
2052 }
2053 
2054 //--------------------------------------------------------------------------------------------------------------------//
2055 static inline xroad_errno_t xroad_pos_reset_route(xroad_pos_reset_t* obj, ...)
2056 {
2057  va_list ap;
2058  va_start(ap, obj);
2059  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2060  va_end(ap);
2061  return res;
2062 }
2063 
2064 /* xroad_mass_quote_t */
2065 
2066 /* Declarations from xroad_node.h */
2067 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2068 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2069 /* End of declarations from xroad_node.h */
2070 
2071 //--------------------------------------------------------------------------------------------------------------------//
2072 static inline xroad_errno_t xroad_mass_quote_send(xroad_mass_quote_t* obj, const xroad_node_id_t id)
2073 {
2074  return xroad_node_send_object(obj, id);
2075 }
2076 
2077 //--------------------------------------------------------------------------------------------------------------------//
2078 static inline xroad_errno_t xroad_mass_quote_route(xroad_mass_quote_t* obj, ...)
2079 {
2080  va_list ap;
2081  va_start(ap, obj);
2082  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2083  va_end(ap);
2084  return res;
2085 }
2086 
2087 /* xroad_mass_quote_entry_t */
2088 
2089 /* Declarations from xroad_node.h */
2090 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2091 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2092 /* End of declarations from xroad_node.h */
2093 
2094 //--------------------------------------------------------------------------------------------------------------------//
2095 static inline xroad_errno_t xroad_mass_quote_entry_send(xroad_mass_quote_entry_t* obj, const xroad_node_id_t id)
2096 {
2097  return xroad_node_send_object(obj, id);
2098 }
2099 
2100 //--------------------------------------------------------------------------------------------------------------------//
2101 static inline xroad_errno_t xroad_mass_quote_entry_route(xroad_mass_quote_entry_t* obj, ...)
2102 {
2103  va_list ap;
2104  va_start(ap, obj);
2105  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2106  va_end(ap);
2107  return res;
2108 }
2109 
2110 /* xroad_fund_asset_t */
2111 
2112 /* Declarations from xroad_node.h */
2113 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2114 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2115 /* End of declarations from xroad_node.h */
2116 
2117 //--------------------------------------------------------------------------------------------------------------------//
2118 static inline xroad_errno_t xroad_fund_asset_send(xroad_fund_asset_t* obj, const xroad_node_id_t id)
2119 {
2120  return xroad_node_send_object(obj, id);
2121 }
2122 
2123 //--------------------------------------------------------------------------------------------------------------------//
2124 static inline xroad_errno_t xroad_fund_asset_route(xroad_fund_asset_t* obj, ...)
2125 {
2126  va_list ap;
2127  va_start(ap, obj);
2128  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2129  va_end(ap);
2130  return res;
2131 }
2132 
2133 /* xroad_mass_quote_destroy_t */
2134 
2135 /* Declarations from xroad_node.h */
2136 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2137 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2138 /* End of declarations from xroad_node.h */
2139 
2140 //--------------------------------------------------------------------------------------------------------------------//
2141 static inline xroad_errno_t xroad_mass_quote_destroy_send(xroad_mass_quote_destroy_t* obj, const xroad_node_id_t id)
2142 {
2143  return xroad_node_send_object(obj, id);
2144 }
2145 
2146 //--------------------------------------------------------------------------------------------------------------------//
2147 static inline xroad_errno_t xroad_mass_quote_destroy_route(xroad_mass_quote_destroy_t* obj, ...)
2148 {
2149  va_list ap;
2150  va_start(ap, obj);
2151  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2152  va_end(ap);
2153  return res;
2154 }
2155 
2156 /* xroad_mass_quote_update_t */
2157 
2158 /* Declarations from xroad_node.h */
2159 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2160 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2161 /* End of declarations from xroad_node.h */
2162 
2163 //--------------------------------------------------------------------------------------------------------------------//
2164 static inline xroad_errno_t xroad_mass_quote_update_send(xroad_mass_quote_update_t* obj, const xroad_node_id_t id)
2165 {
2166  return xroad_node_send_object(obj, id);
2167 }
2168 
2169 //--------------------------------------------------------------------------------------------------------------------//
2170 static inline xroad_errno_t xroad_mass_quote_update_route(xroad_mass_quote_update_t* obj, ...)
2171 {
2172  va_list ap;
2173  va_start(ap, obj);
2174  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2175  va_end(ap);
2176  return res;
2177 }
2178 
2179 /* xroad_mdsource_t */
2180 
2181 /* Declarations from xroad_node.h */
2182 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2183 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2184 /* End of declarations from xroad_node.h */
2185 
2186 //--------------------------------------------------------------------------------------------------------------------//
2187 static inline xroad_errno_t xroad_mdsource_send(xroad_mdsource_t* obj, const xroad_node_id_t id)
2188 {
2189  return xroad_node_send_object(obj, id);
2190 }
2191 
2192 //--------------------------------------------------------------------------------------------------------------------//
2193 static inline xroad_errno_t xroad_mdsource_route(xroad_mdsource_t* obj, ...)
2194 {
2195  va_list ap;
2196  va_start(ap, obj);
2197  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2198  va_end(ap);
2199  return res;
2200 }
2201 
2202 /* xroad_instr_mdsource_t */
2203 
2204 /* Declarations from xroad_node.h */
2205 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2206 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2207 /* End of declarations from xroad_node.h */
2208 
2209 //--------------------------------------------------------------------------------------------------------------------//
2210 static inline xroad_errno_t xroad_instr_mdsource_send(xroad_instr_mdsource_t* obj, const xroad_node_id_t id)
2211 {
2212  return xroad_node_send_object(obj, id);
2213 }
2214 
2215 //--------------------------------------------------------------------------------------------------------------------//
2216 static inline xroad_errno_t xroad_instr_mdsource_route(xroad_instr_mdsource_t* obj, ...)
2217 {
2218  va_list ap;
2219  va_start(ap, obj);
2220  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2221  va_end(ap);
2222  return res;
2223 }
2224 
2225 /* xroad_instr_basket_t */
2226 
2227 /* Declarations from xroad_node.h */
2228 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2229 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2230 /* End of declarations from xroad_node.h */
2231 
2232 //--------------------------------------------------------------------------------------------------------------------//
2233 static inline xroad_errno_t xroad_instr_basket_send(xroad_instr_basket_t* obj, const xroad_node_id_t id)
2234 {
2235  return xroad_node_send_object(obj, id);
2236 }
2237 
2238 //--------------------------------------------------------------------------------------------------------------------//
2239 static inline xroad_errno_t xroad_instr_basket_route(xroad_instr_basket_t* obj, ...)
2240 {
2241  va_list ap;
2242  va_start(ap, obj);
2243  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2244  va_end(ap);
2245  return res;
2246 }
2247 
2248 /* xroad_broker_t */
2249 
2250 /* Declarations from xroad_node.h */
2251 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2252 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2253 /* End of declarations from xroad_node.h */
2254 
2255 //--------------------------------------------------------------------------------------------------------------------//
2256 static inline xroad_errno_t xroad_broker_send(xroad_broker_t* obj, const xroad_node_id_t id)
2257 {
2258  return xroad_node_send_object(obj, id);
2259 }
2260 
2261 //--------------------------------------------------------------------------------------------------------------------//
2262 static inline xroad_errno_t xroad_broker_route(xroad_broker_t* obj, ...)
2263 {
2264  va_list ap;
2265  va_start(ap, obj);
2266  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2267  va_end(ap);
2268  return res;
2269 }
2270 
2271 /* xroad_spbex_bin_session_t */
2272 
2273 /* Declarations from xroad_node.h */
2274 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2275 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2276 /* End of declarations from xroad_node.h */
2277 
2278 //--------------------------------------------------------------------------------------------------------------------//
2279 static inline xroad_errno_t xroad_spbex_bin_session_send(xroad_spbex_bin_session_t* obj, const xroad_node_id_t id)
2280 {
2281  return xroad_node_send_object(obj, id);
2282 }
2283 
2284 //--------------------------------------------------------------------------------------------------------------------//
2285 static inline xroad_errno_t xroad_spbex_bin_session_route(xroad_spbex_bin_session_t* obj, ...)
2286 {
2287  va_list ap;
2288  va_start(ap, obj);
2289  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2290  va_end(ap);
2291  return res;
2292 }
2293 
2294 /* xroad_order_spbex_t */
2295 
2296 /* Declarations from xroad_node.h */
2297 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2298 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2299 /* End of declarations from xroad_node.h */
2300 
2301 //--------------------------------------------------------------------------------------------------------------------//
2302 static inline xroad_errno_t xroad_order_spbex_send(xroad_order_spbex_t* obj, const xroad_node_id_t id)
2303 {
2304  return xroad_node_send_object(obj, id);
2305 }
2306 
2307 //--------------------------------------------------------------------------------------------------------------------//
2308 static inline xroad_errno_t xroad_order_spbex_route(xroad_order_spbex_t* obj, ...)
2309 {
2310  va_list ap;
2311  va_start(ap, obj);
2312  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2313  va_end(ap);
2314  return res;
2315 }
2316 
2317 /* xroad_scheduled_t */
2318 
2319 /* Declarations from xroad_node.h */
2320 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2321 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2322 /* End of declarations from xroad_node.h */
2323 
2324 //--------------------------------------------------------------------------------------------------------------------//
2325 static inline xroad_errno_t xroad_scheduled_send(xroad_scheduled_t* obj, const xroad_node_id_t id)
2326 {
2327  return xroad_node_send_object(obj, id);
2328 }
2329 
2330 //--------------------------------------------------------------------------------------------------------------------//
2331 static inline xroad_errno_t xroad_scheduled_route(xroad_scheduled_t* obj, ...)
2332 {
2333  va_list ap;
2334  va_start(ap, obj);
2335  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2336  va_end(ap);
2337  return res;
2338 }
2339 
2340 /* xroad_mdconsumer_t */
2341 
2342 /* Declarations from xroad_node.h */
2343 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2344 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2345 /* End of declarations from xroad_node.h */
2346 
2347 //--------------------------------------------------------------------------------------------------------------------//
2348 static inline xroad_errno_t xroad_mdconsumer_send(xroad_mdconsumer_t* obj, const xroad_node_id_t id)
2349 {
2350  return xroad_node_send_object(obj, id);
2351 }
2352 
2353 //--------------------------------------------------------------------------------------------------------------------//
2354 static inline xroad_errno_t xroad_mdconsumer_route(xroad_mdconsumer_t* obj, ...)
2355 {
2356  va_list ap;
2357  va_start(ap, obj);
2358  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2359  va_end(ap);
2360  return res;
2361 }
2362 
2363 /* xroad_pre_trade_t */
2364 
2365 /* Declarations from xroad_node.h */
2366 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2367 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2368 /* End of declarations from xroad_node.h */
2369 
2370 //--------------------------------------------------------------------------------------------------------------------//
2371 static inline xroad_errno_t xroad_pre_trade_send(xroad_pre_trade_t* obj, const xroad_node_id_t id)
2372 {
2373  return xroad_node_send_object(obj, id);
2374 }
2375 
2376 //--------------------------------------------------------------------------------------------------------------------//
2377 static inline xroad_errno_t xroad_pre_trade_route(xroad_pre_trade_t* obj, ...)
2378 {
2379  va_list ap;
2380  va_start(ap, obj);
2381  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2382  va_end(ap);
2383  return res;
2384 }
2385 
2386 /* xroad_pre_trade_ack_t */
2387 
2388 /* Declarations from xroad_node.h */
2389 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2390 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2391 /* End of declarations from xroad_node.h */
2392 
2393 //--------------------------------------------------------------------------------------------------------------------//
2394 static inline xroad_errno_t xroad_pre_trade_ack_send(xroad_pre_trade_ack_t* obj, const xroad_node_id_t id)
2395 {
2396  return xroad_node_send_object(obj, id);
2397 }
2398 
2399 //--------------------------------------------------------------------------------------------------------------------//
2400 static inline xroad_errno_t xroad_pre_trade_ack_route(xroad_pre_trade_ack_t* obj, ...)
2401 {
2402  va_list ap;
2403  va_start(ap, obj);
2404  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2405  va_end(ap);
2406  return res;
2407 }
2408 
2409 /* xroad_speedway_t */
2410 
2411 /* Declarations from xroad_node.h */
2412 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2413 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2414 /* End of declarations from xroad_node.h */
2415 
2416 //--------------------------------------------------------------------------------------------------------------------//
2417 static inline xroad_errno_t xroad_speedway_send(xroad_speedway_t* obj, const xroad_node_id_t id)
2418 {
2419  return xroad_node_send_object(obj, id);
2420 }
2421 
2422 //--------------------------------------------------------------------------------------------------------------------//
2423 static inline xroad_errno_t xroad_speedway_route(xroad_speedway_t* obj, ...)
2424 {
2425  va_list ap;
2426  va_start(ap, obj);
2427  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2428  va_end(ap);
2429  return res;
2430 }
2431 
2432 /* xroad_top_book_t */
2433 
2434 /* Declarations from xroad_node.h */
2435 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2436 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2437 /* End of declarations from xroad_node.h */
2438 
2439 //--------------------------------------------------------------------------------------------------------------------//
2440 static inline xroad_errno_t xroad_top_book_send(xroad_top_book_t* obj, const xroad_node_id_t id)
2441 {
2442  return xroad_node_send_object(obj, id);
2443 }
2444 
2445 //--------------------------------------------------------------------------------------------------------------------//
2446 static inline xroad_errno_t xroad_top_book_route(xroad_top_book_t* obj, ...)
2447 {
2448  va_list ap;
2449  va_start(ap, obj);
2450  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2451  va_end(ap);
2452  return res;
2453 }
2454 
2455 /* xroad_order_info_t */
2456 
2457 /* Declarations from xroad_node.h */
2458 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2459 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2460 /* End of declarations from xroad_node.h */
2461 
2462 //--------------------------------------------------------------------------------------------------------------------//
2463 static inline xroad_errno_t xroad_order_info_send(xroad_order_info_t* obj, const xroad_node_id_t id)
2464 {
2465  return xroad_node_send_object(obj, id);
2466 }
2467 
2468 //--------------------------------------------------------------------------------------------------------------------//
2469 static inline xroad_errno_t xroad_order_info_route(xroad_order_info_t* obj, ...)
2470 {
2471  va_list ap;
2472  va_start(ap, obj);
2473  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2474  va_end(ap);
2475  return res;
2476 }
2477 
2478 /* xroad_suspend_t */
2479 
2480 /* Declarations from xroad_node.h */
2481 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2482 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2483 /* End of declarations from xroad_node.h */
2484 
2485 //--------------------------------------------------------------------------------------------------------------------//
2486 static inline xroad_errno_t xroad_suspend_send(xroad_suspend_t* obj, const xroad_node_id_t id)
2487 {
2488  return xroad_node_send_object(obj, id);
2489 }
2490 
2491 //--------------------------------------------------------------------------------------------------------------------//
2492 static inline xroad_errno_t xroad_suspend_route(xroad_suspend_t* obj, ...)
2493 {
2494  va_list ap;
2495  va_start(ap, obj);
2496  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2497  va_end(ap);
2498  return res;
2499 }
2500 
2501 /* xroad_suspended_t */
2502 
2503 /* Declarations from xroad_node.h */
2504 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2505 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2506 /* End of declarations from xroad_node.h */
2507 
2508 //--------------------------------------------------------------------------------------------------------------------//
2509 static inline xroad_errno_t xroad_suspended_send(xroad_suspended_t* obj, const xroad_node_id_t id)
2510 {
2511  return xroad_node_send_object(obj, id);
2512 }
2513 
2514 //--------------------------------------------------------------------------------------------------------------------//
2515 static inline xroad_errno_t xroad_suspended_route(xroad_suspended_t* obj, ...)
2516 {
2517  va_list ap;
2518  va_start(ap, obj);
2519  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2520  va_end(ap);
2521  return res;
2522 }
2523 
2524 /* xroad_suspend_rejected_t */
2525 
2526 /* Declarations from xroad_node.h */
2527 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2528 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2529 /* End of declarations from xroad_node.h */
2530 
2531 //--------------------------------------------------------------------------------------------------------------------//
2532 static inline xroad_errno_t xroad_suspend_rejected_send(xroad_suspend_rejected_t* obj, const xroad_node_id_t id)
2533 {
2534  return xroad_node_send_object(obj, id);
2535 }
2536 
2537 //--------------------------------------------------------------------------------------------------------------------//
2538 static inline xroad_errno_t xroad_suspend_rejected_route(xroad_suspend_rejected_t* obj, ...)
2539 {
2540  va_list ap;
2541  va_start(ap, obj);
2542  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2543  va_end(ap);
2544  return res;
2545 }
2546 
2547 /* xroad_resume_t */
2548 
2549 /* Declarations from xroad_node.h */
2550 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2551 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2552 /* End of declarations from xroad_node.h */
2553 
2554 //--------------------------------------------------------------------------------------------------------------------//
2555 static inline xroad_errno_t xroad_resume_send(xroad_resume_t* obj, const xroad_node_id_t id)
2556 {
2557  return xroad_node_send_object(obj, id);
2558 }
2559 
2560 //--------------------------------------------------------------------------------------------------------------------//
2561 static inline xroad_errno_t xroad_resume_route(xroad_resume_t* obj, ...)
2562 {
2563  va_list ap;
2564  va_start(ap, obj);
2565  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2566  va_end(ap);
2567  return res;
2568 }
2569 
2570 /* xroad_security_long_t */
2571 
2572 /* Declarations from xroad_node.h */
2573 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2574 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2575 /* End of declarations from xroad_node.h */
2576 
2577 //--------------------------------------------------------------------------------------------------------------------//
2578 static inline xroad_errno_t xroad_security_long_send(xroad_security_long_t* obj, const xroad_node_id_t id)
2579 {
2580  return xroad_node_send_object(obj, id);
2581 }
2582 
2583 //--------------------------------------------------------------------------------------------------------------------//
2584 static inline xroad_errno_t xroad_security_long_route(xroad_security_long_t* obj, ...)
2585 {
2586  va_list ap;
2587  va_start(ap, obj);
2588  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2589  va_end(ap);
2590  return res;
2591 }
2592 
2593 /* xroad_client_long_t */
2594 
2595 /* Declarations from xroad_node.h */
2596 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2597 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2598 /* End of declarations from xroad_node.h */
2599 
2600 //--------------------------------------------------------------------------------------------------------------------//
2601 static inline xroad_errno_t xroad_client_long_send(xroad_client_long_t* obj, const xroad_node_id_t id)
2602 {
2603  return xroad_node_send_object(obj, id);
2604 }
2605 
2606 //--------------------------------------------------------------------------------------------------------------------//
2607 static inline xroad_errno_t xroad_client_long_route(xroad_client_long_t* obj, ...)
2608 {
2609  va_list ap;
2610  va_start(ap, obj);
2611  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2612  va_end(ap);
2613  return res;
2614 }
2615 
2616 /* xroad_security_sell_trade_t */
2617 
2618 /* Declarations from xroad_node.h */
2619 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2620 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2621 /* End of declarations from xroad_node.h */
2622 
2623 //--------------------------------------------------------------------------------------------------------------------//
2624 static inline xroad_errno_t xroad_security_sell_trade_send(xroad_security_sell_trade_t* obj, const xroad_node_id_t id)
2625 {
2626  return xroad_node_send_object(obj, id);
2627 }
2628 
2629 //--------------------------------------------------------------------------------------------------------------------//
2630 static inline xroad_errno_t xroad_security_sell_trade_route(xroad_security_sell_trade_t* obj, ...)
2631 {
2632  va_list ap;
2633  va_start(ap, obj);
2634  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2635  va_end(ap);
2636  return res;
2637 }
2638 
2639 /* xroad_client_sell_trade_t */
2640 
2641 /* Declarations from xroad_node.h */
2642 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2643 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2644 /* End of declarations from xroad_node.h */
2645 
2646 //--------------------------------------------------------------------------------------------------------------------//
2647 static inline xroad_errno_t xroad_client_sell_trade_send(xroad_client_sell_trade_t* obj, const xroad_node_id_t id)
2648 {
2649  return xroad_node_send_object(obj, id);
2650 }
2651 
2652 //--------------------------------------------------------------------------------------------------------------------//
2653 static inline xroad_errno_t xroad_client_sell_trade_route(xroad_client_sell_trade_t* obj, ...)
2654 {
2655  va_list ap;
2656  va_start(ap, obj);
2657  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2658  va_end(ap);
2659  return res;
2660 }
2661 
2662 /* xroad_security_buy_trade_t */
2663 
2664 /* Declarations from xroad_node.h */
2665 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2666 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2667 /* End of declarations from xroad_node.h */
2668 
2669 //--------------------------------------------------------------------------------------------------------------------//
2670 static inline xroad_errno_t xroad_security_buy_trade_send(xroad_security_buy_trade_t* obj, const xroad_node_id_t id)
2671 {
2672  return xroad_node_send_object(obj, id);
2673 }
2674 
2675 //--------------------------------------------------------------------------------------------------------------------//
2676 static inline xroad_errno_t xroad_security_buy_trade_route(xroad_security_buy_trade_t* obj, ...)
2677 {
2678  va_list ap;
2679  va_start(ap, obj);
2680  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2681  va_end(ap);
2682  return res;
2683 }
2684 
2685 /* xroad_client_buy_trade_t */
2686 
2687 /* Declarations from xroad_node.h */
2688 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2689 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2690 /* End of declarations from xroad_node.h */
2691 
2692 //--------------------------------------------------------------------------------------------------------------------//
2693 static inline xroad_errno_t xroad_client_buy_trade_send(xroad_client_buy_trade_t* obj, const xroad_node_id_t id)
2694 {
2695  return xroad_node_send_object(obj, id);
2696 }
2697 
2698 //--------------------------------------------------------------------------------------------------------------------//
2699 static inline xroad_errno_t xroad_client_buy_trade_route(xroad_client_buy_trade_t* obj, ...)
2700 {
2701  va_list ap;
2702  va_start(ap, obj);
2703  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2704  va_end(ap);
2705  return res;
2706 }
2707 
2708 /* xroad_command_t */
2709 
2710 /* Declarations from xroad_node.h */
2711 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2712 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2713 /* End of declarations from xroad_node.h */
2714 
2715 //--------------------------------------------------------------------------------------------------------------------//
2716 static inline xroad_errno_t xroad_command_send(xroad_command_t* obj, const xroad_node_id_t id)
2717 {
2718  return xroad_node_send_object(obj, id);
2719 }
2720 
2721 //--------------------------------------------------------------------------------------------------------------------//
2722 static inline xroad_errno_t xroad_command_route(xroad_command_t* obj, ...)
2723 {
2724  va_list ap;
2725  va_start(ap, obj);
2726  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2727  va_end(ap);
2728  return res;
2729 }
2730 
2731 /* xroad_parent_order_t */
2732 
2733 /* Declarations from xroad_node.h */
2734 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2735 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2736 /* End of declarations from xroad_node.h */
2737 
2738 //--------------------------------------------------------------------------------------------------------------------//
2739 static inline xroad_errno_t xroad_parent_order_send(xroad_parent_order_t* obj, const xroad_node_id_t id)
2740 {
2741  return xroad_node_send_object(obj, id);
2742 }
2743 
2744 //--------------------------------------------------------------------------------------------------------------------//
2745 static inline xroad_errno_t xroad_parent_order_route(xroad_parent_order_t* obj, ...)
2746 {
2747  va_list ap;
2748  va_start(ap, obj);
2749  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2750  va_end(ap);
2751  return res;
2752 }
2753 
2754 /* xroad_audit_event_t */
2755 
2756 /* Declarations from xroad_node.h */
2757 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2758 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2759 /* End of declarations from xroad_node.h */
2760 
2761 //--------------------------------------------------------------------------------------------------------------------//
2762 static inline xroad_errno_t xroad_audit_event_send(xroad_audit_event_t* obj, const xroad_node_id_t id)
2763 {
2764  return xroad_node_send_object(obj, id);
2765 }
2766 
2767 //--------------------------------------------------------------------------------------------------------------------//
2768 static inline xroad_errno_t xroad_audit_event_route(xroad_audit_event_t* obj, ...)
2769 {
2770  va_list ap;
2771  va_start(ap, obj);
2772  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2773  va_end(ap);
2774  return res;
2775 }
2776 
2777 /* xroad_portfolio_t */
2778 
2779 /* Declarations from xroad_node.h */
2780 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2781 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2782 /* End of declarations from xroad_node.h */
2783 
2784 //--------------------------------------------------------------------------------------------------------------------//
2785 static inline xroad_errno_t xroad_portfolio_send(xroad_portfolio_t* obj, const xroad_node_id_t id)
2786 {
2787  return xroad_node_send_object(obj, id);
2788 }
2789 
2790 //--------------------------------------------------------------------------------------------------------------------//
2791 static inline xroad_errno_t xroad_portfolio_route(xroad_portfolio_t* obj, ...)
2792 {
2793  va_list ap;
2794  va_start(ap, obj);
2795  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2796  va_end(ap);
2797  return res;
2798 }
2799 
2800 /* xroad_pos_info_t */
2801 
2802 /* Declarations from xroad_node.h */
2803 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2804 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2805 /* End of declarations from xroad_node.h */
2806 
2807 //--------------------------------------------------------------------------------------------------------------------//
2808 static inline xroad_errno_t xroad_pos_info_send(xroad_pos_info_t* obj, const xroad_node_id_t id)
2809 {
2810  return xroad_node_send_object(obj, id);
2811 }
2812 
2813 //--------------------------------------------------------------------------------------------------------------------//
2814 static inline xroad_errno_t xroad_pos_info_route(xroad_pos_info_t* obj, ...)
2815 {
2816  va_list ap;
2817  va_start(ap, obj);
2818  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2819  va_end(ap);
2820  return res;
2821 }
2822 
2823 /* xroad_pos_subscribe_t */
2824 
2825 /* Declarations from xroad_node.h */
2826 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2827 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2828 /* End of declarations from xroad_node.h */
2829 
2830 //--------------------------------------------------------------------------------------------------------------------//
2831 static inline xroad_errno_t xroad_pos_subscribe_send(xroad_pos_subscribe_t* obj, const xroad_node_id_t id)
2832 {
2833  return xroad_node_send_object(obj, id);
2834 }
2835 
2836 //--------------------------------------------------------------------------------------------------------------------//
2837 static inline xroad_errno_t xroad_pos_subscribe_route(xroad_pos_subscribe_t* obj, ...)
2838 {
2839  va_list ap;
2840  va_start(ap, obj);
2841  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2842  va_end(ap);
2843  return res;
2844 }
2845 
2846 /* xroad_pos_subs_result_t */
2847 
2848 /* Declarations from xroad_node.h */
2849 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2850 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2851 /* End of declarations from xroad_node.h */
2852 
2853 //--------------------------------------------------------------------------------------------------------------------//
2854 static inline xroad_errno_t xroad_pos_subs_result_send(xroad_pos_subs_result_t* obj, const xroad_node_id_t id)
2855 {
2856  return xroad_node_send_object(obj, id);
2857 }
2858 
2859 //--------------------------------------------------------------------------------------------------------------------//
2860 static inline xroad_errno_t xroad_pos_subs_result_route(xroad_pos_subs_result_t* obj, ...)
2861 {
2862  va_list ap;
2863  va_start(ap, obj);
2864  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2865  va_end(ap);
2866  return res;
2867 }
2868 
2869 /* xroad_pos_subs_status_t */
2870 
2871 /* Declarations from xroad_node.h */
2872 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2873 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2874 /* End of declarations from xroad_node.h */
2875 
2876 //--------------------------------------------------------------------------------------------------------------------//
2877 static inline xroad_errno_t xroad_pos_subs_status_send(xroad_pos_subs_status_t* obj, const xroad_node_id_t id)
2878 {
2879  return xroad_node_send_object(obj, id);
2880 }
2881 
2882 //--------------------------------------------------------------------------------------------------------------------//
2883 static inline xroad_errno_t xroad_pos_subs_status_route(xroad_pos_subs_status_t* obj, ...)
2884 {
2885  va_list ap;
2886  va_start(ap, obj);
2887  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2888  va_end(ap);
2889  return res;
2890 }
2891 
2892 /* xroad_instr_leg_t */
2893 
2894 /* Declarations from xroad_node.h */
2895 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2896 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2897 /* End of declarations from xroad_node.h */
2898 
2899 //--------------------------------------------------------------------------------------------------------------------//
2900 static inline xroad_errno_t xroad_instr_leg_send(xroad_instr_leg_t* obj, const xroad_node_id_t id)
2901 {
2902  return xroad_node_send_object(obj, id);
2903 }
2904 
2905 //--------------------------------------------------------------------------------------------------------------------//
2906 static inline xroad_errno_t xroad_instr_leg_route(xroad_instr_leg_t* obj, ...)
2907 {
2908  va_list ap;
2909  va_start(ap, obj);
2910  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2911  va_end(ap);
2912  return res;
2913 }
2914 
2915 /* xroad_mdquote_t */
2916 
2917 /* Declarations from xroad_node.h */
2918 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2919 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2920 /* End of declarations from xroad_node.h */
2921 
2922 //--------------------------------------------------------------------------------------------------------------------//
2923 static inline xroad_errno_t xroad_mdquote_send(xroad_mdquote_t* obj, const xroad_node_id_t id)
2924 {
2925  return xroad_node_send_object(obj, id);
2926 }
2927 
2928 //--------------------------------------------------------------------------------------------------------------------//
2929 static inline xroad_errno_t xroad_mdquote_route(xroad_mdquote_t* obj, ...)
2930 {
2931  va_list ap;
2932  va_start(ap, obj);
2933  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2934  va_end(ap);
2935  return res;
2936 }
2937 
2938 /* xroad_mdindicator_t */
2939 
2940 /* Declarations from xroad_node.h */
2941 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2942 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2943 /* End of declarations from xroad_node.h */
2944 
2945 //--------------------------------------------------------------------------------------------------------------------//
2946 static inline xroad_errno_t xroad_mdindicator_send(xroad_mdindicator_t* obj, const xroad_node_id_t id)
2947 {
2948  return xroad_node_send_object(obj, id);
2949 }
2950 
2951 //--------------------------------------------------------------------------------------------------------------------//
2952 static inline xroad_errno_t xroad_mdindicator_route(xroad_mdindicator_t* obj, ...)
2953 {
2954  va_list ap;
2955  va_start(ap, obj);
2956  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2957  va_end(ap);
2958  return res;
2959 }
2960 
2961 /* xroad_mdtrade_t */
2962 
2963 /* Declarations from xroad_node.h */
2964 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2965 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2966 /* End of declarations from xroad_node.h */
2967 
2968 //--------------------------------------------------------------------------------------------------------------------//
2969 static inline xroad_errno_t xroad_mdtrade_send(xroad_mdtrade_t* obj, const xroad_node_id_t id)
2970 {
2971  return xroad_node_send_object(obj, id);
2972 }
2973 
2974 //--------------------------------------------------------------------------------------------------------------------//
2975 static inline xroad_errno_t xroad_mdtrade_route(xroad_mdtrade_t* obj, ...)
2976 {
2977  va_list ap;
2978  va_start(ap, obj);
2979  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
2980  va_end(ap);
2981  return res;
2982 }
2983 
2984 /* xroad_mdbook_t */
2985 
2986 /* Declarations from xroad_node.h */
2987 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
2988 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
2989 /* End of declarations from xroad_node.h */
2990 
2991 //--------------------------------------------------------------------------------------------------------------------//
2992 static inline xroad_errno_t xroad_mdbook_send(xroad_mdbook_t* obj, const xroad_node_id_t id)
2993 {
2994  return xroad_node_send_object(obj, id);
2995 }
2996 
2997 //--------------------------------------------------------------------------------------------------------------------//
2998 static inline xroad_errno_t xroad_mdbook_route(xroad_mdbook_t* obj, ...)
2999 {
3000  va_list ap;
3001  va_start(ap, obj);
3002  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
3003  va_end(ap);
3004  return res;
3005 }
3006 
3007 /* xroad_ngui_statistic_t */
3008 
3009 /* Declarations from xroad_node.h */
3010 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
3011 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
3012 /* End of declarations from xroad_node.h */
3013 
3014 //--------------------------------------------------------------------------------------------------------------------//
3015 static inline xroad_errno_t xroad_ngui_statistic_send(xroad_ngui_statistic_t* obj, const xroad_node_id_t id)
3016 {
3017  return xroad_node_send_object(obj, id);
3018 }
3019 
3020 //--------------------------------------------------------------------------------------------------------------------//
3021 static inline xroad_errno_t xroad_ngui_statistic_route(xroad_ngui_statistic_t* obj, ...)
3022 {
3023  va_list ap;
3024  va_start(ap, obj);
3025  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
3026  va_end(ap);
3027  return res;
3028 }
3029 
3030 /* xroad_proto_request_t */
3031 
3032 /* Declarations from xroad_node.h */
3033 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
3034 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
3035 /* End of declarations from xroad_node.h */
3036 
3037 //--------------------------------------------------------------------------------------------------------------------//
3038 static inline xroad_errno_t xroad_proto_request_send(xroad_proto_request_t* obj, const xroad_node_id_t id)
3039 {
3040  return xroad_node_send_object(obj, id);
3041 }
3042 
3043 //--------------------------------------------------------------------------------------------------------------------//
3044 static inline xroad_errno_t xroad_proto_request_route(xroad_proto_request_t* obj, ...)
3045 {
3046  va_list ap;
3047  va_start(ap, obj);
3048  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
3049  va_end(ap);
3050  return res;
3051 }
3052 
3053 /* xroad_proto_response_t */
3054 
3055 /* Declarations from xroad_node.h */
3056 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
3057 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
3058 /* End of declarations from xroad_node.h */
3059 
3060 //--------------------------------------------------------------------------------------------------------------------//
3061 static inline xroad_errno_t xroad_proto_response_send(xroad_proto_response_t* obj, const xroad_node_id_t id)
3062 {
3063  return xroad_node_send_object(obj, id);
3064 }
3065 
3066 //--------------------------------------------------------------------------------------------------------------------//
3067 static inline xroad_errno_t xroad_proto_response_route(xroad_proto_response_t* obj, ...)
3068 {
3069  va_list ap;
3070  va_start(ap, obj);
3071  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
3072  va_end(ap);
3073  return res;
3074 }
3075 
3076 /* xroad_proto_session_end_t */
3077 
3078 /* Declarations from xroad_node.h */
3079 xroad_errno_t xroad_node_send_object(void* obj, xroad_node_id_t id);
3080 xroad_errno_t xroad_node_route_object_va(void* obj, va_list ap);
3081 /* End of declarations from xroad_node.h */
3082 
3083 //--------------------------------------------------------------------------------------------------------------------//
3084 static inline xroad_errno_t xroad_proto_session_end_send(xroad_proto_session_end_t* obj, const xroad_node_id_t id)
3085 {
3086  return xroad_node_send_object(obj, id);
3087 }
3088 
3089 //--------------------------------------------------------------------------------------------------------------------//
3090 static inline xroad_errno_t xroad_proto_session_end_route(xroad_proto_session_end_t* obj, ...)
3091 {
3092  va_list ap;
3093  va_start(ap, obj);
3094  xroad_errno_t res = xroad_node_route_object_va(obj, ap);
3095  va_end(ap);
3096  return res;
3097 }
3098 
3099 #ifdef __cplusplus
3100 }
3101 #endif
xroad_errno_t xroad_node_send_object(void *obj, xroad_node_id_t id)
xroad_errno_t xroad_node_route_object_va(void *obj, va_list ap)
CAUTION: do not change this file - it is autogenerated.