]> git.meshlink.io Git - catta/blob - avahi-compat-howl/unsupported.c
ba9fc3be25b52ec9d61b0c626bcbdf222fdcf6de
[catta] / avahi-compat-howl / unsupported.c
1 /* $Id$ */
2
3 /***
4   This file is part of avahi.
5
6   avahi is free software; you can redistribute it and/or modify it
7   under the terms of the GNU Lesser General Public License as
8   published by the Free Software Foundation; either version 2.1 of the
9   License, or (at your option) any later version.
10
11   avahi is distributed in the hope that it will be useful, but WITHOUT
12   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
14   Public License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with avahi; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19   USA.
20 ***/
21
22 #ifdef HAVE_CONFIG_H
23 #include <config.h>
24 #endif
25
26 #include <avahi-common/gccmacro.h>
27
28 #include "howl.h"
29 #include "warn.h"
30
31 AVAHI_GCC_NORETURN
32 sw_string sw_strdup(AVAHI_GCC_UNUSED sw_const_string str) {
33     AVAHI_WARN_UNSUPPORTED_ABORT;
34 }
35
36 AVAHI_GCC_NORETURN
37 sw_opaque _sw_debug_malloc(
38     AVAHI_GCC_UNUSED sw_size_t size,
39     AVAHI_GCC_UNUSED sw_const_string function,
40     AVAHI_GCC_UNUSED sw_const_string file,
41     AVAHI_GCC_UNUSED sw_uint32 line) {
42     AVAHI_WARN_UNSUPPORTED_ABORT;
43 }
44
45 AVAHI_GCC_NORETURN
46 sw_opaque _sw_debug_realloc(
47     AVAHI_GCC_UNUSED sw_opaque_t mem,
48     AVAHI_GCC_UNUSED sw_size_t size,
49     AVAHI_GCC_UNUSED sw_const_string function,
50     AVAHI_GCC_UNUSED sw_const_string file,
51     AVAHI_GCC_UNUSED sw_uint32 line) {
52     AVAHI_WARN_UNSUPPORTED_ABORT;
53 }
54
55 void _sw_debug_free(
56     AVAHI_GCC_UNUSED sw_opaque_t mem,
57     AVAHI_GCC_UNUSED sw_const_string function,
58     AVAHI_GCC_UNUSED sw_const_string file,
59     AVAHI_GCC_UNUSED sw_uint32 line) {
60     AVAHI_WARN_UNSUPPORTED;
61 }
62
63 AVAHI_GCC_NORETURN
64 sw_const_string sw_strerror(/* howl sucks */) {
65     AVAHI_WARN_UNSUPPORTED_ABORT;
66 }
67
68 sw_result sw_timer_init(AVAHI_GCC_UNUSED sw_timer * self) {
69     AVAHI_WARN_UNSUPPORTED;
70     return SW_E_NO_IMPL;
71 }
72
73 sw_result sw_timer_fina(AVAHI_GCC_UNUSED sw_timer self) {
74     AVAHI_WARN_UNSUPPORTED;
75     return SW_E_NO_IMPL;
76 }
77
78 sw_result sw_time_init(AVAHI_GCC_UNUSED sw_time * self) {
79     AVAHI_WARN_UNSUPPORTED;
80     return SW_E_NO_IMPL;
81 }
82
83 sw_result sw_time_init_now(AVAHI_GCC_UNUSED sw_time * self) {
84     AVAHI_WARN_UNSUPPORTED;
85     return SW_E_NO_IMPL;
86 }
87
88 sw_result sw_time_fina(AVAHI_GCC_UNUSED sw_time self) {
89     AVAHI_WARN_UNSUPPORTED;
90     return SW_E_NO_IMPL;
91 }
92
93 AVAHI_GCC_NORETURN
94 sw_time sw_time_add(
95     AVAHI_GCC_UNUSED sw_time self,
96     AVAHI_GCC_UNUSED sw_time y) {
97     AVAHI_WARN_UNSUPPORTED_ABORT;
98 }
99
100 AVAHI_GCC_NORETURN
101 sw_time sw_time_sub(
102     AVAHI_GCC_UNUSED sw_time self,
103     AVAHI_GCC_UNUSED sw_time y) {
104     AVAHI_WARN_UNSUPPORTED_ABORT;
105 }
106
107 AVAHI_GCC_NORETURN
108 sw_int32 sw_time_cmp(
109     AVAHI_GCC_UNUSED sw_time self,
110     AVAHI_GCC_UNUSED sw_time y) {
111     AVAHI_WARN_UNSUPPORTED_ABORT;
112 }
113
114 sw_result sw_salt_init(
115     AVAHI_GCC_UNUSED sw_salt * self,
116     AVAHI_GCC_UNUSED int argc,
117     AVAHI_GCC_UNUSED char ** argv) {
118     AVAHI_WARN_UNSUPPORTED;
119     return SW_E_NO_IMPL;
120 }
121
122 sw_result sw_salt_fina(AVAHI_GCC_UNUSED sw_salt self) {
123     AVAHI_WARN_UNSUPPORTED;
124     return SW_E_NO_IMPL;
125 }
126
127 sw_result sw_salt_register_socket(
128     AVAHI_GCC_UNUSED sw_salt self,
129     AVAHI_GCC_UNUSED struct _sw_socket * _socket,
130     AVAHI_GCC_UNUSED sw_socket_event events,
131     AVAHI_GCC_UNUSED sw_socket_handler handler,
132     AVAHI_GCC_UNUSED sw_socket_handler_func func,
133     AVAHI_GCC_UNUSED sw_opaque extra) {
134     AVAHI_WARN_UNSUPPORTED;
135     return SW_E_NO_IMPL;
136 }
137
138 sw_result sw_salt_unregister_socket(
139     AVAHI_GCC_UNUSED sw_salt self,
140     AVAHI_GCC_UNUSED struct _sw_socket * _socket) {
141     AVAHI_WARN_UNSUPPORTED;
142     return SW_E_NO_IMPL;
143 }
144
145
146 sw_result sw_salt_register_timer(
147     AVAHI_GCC_UNUSED sw_salt self,
148     AVAHI_GCC_UNUSED struct _sw_timer * timer,
149     AVAHI_GCC_UNUSED sw_time timeout,
150     AVAHI_GCC_UNUSED sw_timer_handler handler,
151     AVAHI_GCC_UNUSED sw_timer_handler_func func,
152     AVAHI_GCC_UNUSED sw_opaque extra) {
153     AVAHI_WARN_UNSUPPORTED;
154     return SW_E_NO_IMPL;
155 }
156
157 sw_result sw_salt_unregister_timer(
158     AVAHI_GCC_UNUSED sw_salt self,
159     AVAHI_GCC_UNUSED struct _sw_timer * timer) {
160     AVAHI_WARN_UNSUPPORTED;
161     return SW_E_NO_IMPL;
162 }
163
164 sw_result sw_salt_register_network_interface(
165     AVAHI_GCC_UNUSED sw_salt self,
166     AVAHI_GCC_UNUSED struct _sw_network_interface * netif,
167     AVAHI_GCC_UNUSED sw_network_interface_handler handler,
168     AVAHI_GCC_UNUSED sw_network_interface_handler_func func,
169     AVAHI_GCC_UNUSED sw_opaque extra) {
170     AVAHI_WARN_UNSUPPORTED;
171     return SW_E_NO_IMPL;
172 }
173
174 sw_result sw_salt_unregister_network_interface_handler(AVAHI_GCC_UNUSED sw_salt self) {
175     AVAHI_WARN_UNSUPPORTED;
176     return SW_E_NO_IMPL;
177 }
178
179 sw_result sw_salt_register_signal(
180     AVAHI_GCC_UNUSED sw_salt self,
181     AVAHI_GCC_UNUSED struct _sw_signal * _signal,
182     AVAHI_GCC_UNUSED sw_signal_handler handler,
183     AVAHI_GCC_UNUSED sw_signal_handler_func func,
184     AVAHI_GCC_UNUSED sw_opaque extra) {
185
186     AVAHI_WARN_UNSUPPORTED;
187     return SW_E_NO_IMPL;
188 }
189
190 sw_result sw_salt_unregister_signal(
191     AVAHI_GCC_UNUSED sw_salt self,
192     AVAHI_GCC_UNUSED struct _sw_signal * _signal) {
193
194     AVAHI_WARN_UNSUPPORTED;
195     return SW_E_NO_IMPL;
196 }
197
198 void sw_print_assert(
199     AVAHI_GCC_UNUSED int code,
200     AVAHI_GCC_UNUSED sw_const_string assert_string,
201     AVAHI_GCC_UNUSED sw_const_string file,
202     AVAHI_GCC_UNUSED sw_const_string func,
203     AVAHI_GCC_UNUSED int line) {
204     AVAHI_WARN_UNSUPPORTED;
205 }
206
207 void sw_print_debug(
208     AVAHI_GCC_UNUSED int level,
209     AVAHI_GCC_UNUSED sw_const_string format,
210     ...) {
211     AVAHI_WARN_UNSUPPORTED;
212 }
213
214 sw_result sw_tcp_socket_init(AVAHI_GCC_UNUSED sw_socket * self) {
215     AVAHI_WARN_UNSUPPORTED;
216     return SW_E_NO_IMPL;
217 }
218
219 sw_result sw_tcp_socket_init_with_desc(
220     AVAHI_GCC_UNUSED sw_socket * self,
221     AVAHI_GCC_UNUSED sw_sockdesc_t desc) {
222     AVAHI_WARN_UNSUPPORTED;
223     return SW_E_NO_IMPL;
224 }
225
226 sw_result sw_udp_socket_init(AVAHI_GCC_UNUSED sw_socket * self) {
227     AVAHI_WARN_UNSUPPORTED;
228     return SW_E_NO_IMPL;
229 }
230
231 sw_result sw_multicast_socket_init(AVAHI_GCC_UNUSED sw_socket * self) {
232     AVAHI_WARN_UNSUPPORTED;
233     return SW_E_NO_IMPL;
234 }
235
236 sw_result sw_socket_fina(AVAHI_GCC_UNUSED sw_socket self) {
237     AVAHI_WARN_UNSUPPORTED;
238     return SW_E_NO_IMPL;
239 }
240
241 sw_result sw_socket_bind(
242     AVAHI_GCC_UNUSED sw_socket self,
243     AVAHI_GCC_UNUSED sw_ipv4_address address,
244     AVAHI_GCC_UNUSED sw_port port) {
245     AVAHI_WARN_UNSUPPORTED;
246     return SW_E_NO_IMPL;
247 }
248
249 sw_result sw_socket_join_multicast_group(
250     AVAHI_GCC_UNUSED sw_socket self,
251     AVAHI_GCC_UNUSED sw_ipv4_address local_address,
252     AVAHI_GCC_UNUSED sw_ipv4_address multicast_address,
253     AVAHI_GCC_UNUSED sw_uint32 ttl) {
254     AVAHI_WARN_UNSUPPORTED;
255     return SW_E_NO_IMPL;
256 }
257
258 sw_result sw_socket_leave_multicast_group(AVAHI_GCC_UNUSED sw_socket self) {
259     AVAHI_WARN_UNSUPPORTED;
260     return SW_E_NO_IMPL;
261 }
262
263 sw_result sw_socket_listen(
264     AVAHI_GCC_UNUSED sw_socket self,
265     AVAHI_GCC_UNUSED int qsize) {
266     AVAHI_WARN_UNSUPPORTED;
267     return SW_E_NO_IMPL;
268 }
269
270 sw_result sw_socket_connect(
271     AVAHI_GCC_UNUSED sw_socket self,
272     AVAHI_GCC_UNUSED sw_ipv4_address address,
273     AVAHI_GCC_UNUSED sw_port port) {
274     AVAHI_WARN_UNSUPPORTED;
275     return SW_E_NO_IMPL;
276 }
277
278 sw_result sw_socket_accept(
279     AVAHI_GCC_UNUSED sw_socket self,
280     AVAHI_GCC_UNUSED sw_socket * _socket) {
281     AVAHI_WARN_UNSUPPORTED;
282     return SW_E_NO_IMPL;
283 }
284
285 sw_result sw_socket_send(
286     AVAHI_GCC_UNUSED sw_socket self,
287     AVAHI_GCC_UNUSED sw_octets buffer,
288     AVAHI_GCC_UNUSED sw_size_t len,
289     AVAHI_GCC_UNUSED sw_size_t * bytesWritten) {
290     AVAHI_WARN_UNSUPPORTED;
291     return SW_E_NO_IMPL;
292 }
293
294 sw_result sw_socket_sendto(
295     AVAHI_GCC_UNUSED sw_socket self,
296     AVAHI_GCC_UNUSED sw_octets buffer,
297     AVAHI_GCC_UNUSED sw_size_t len,
298     AVAHI_GCC_UNUSED sw_size_t * bytesWritten,
299     AVAHI_GCC_UNUSED sw_ipv4_address to,
300     AVAHI_GCC_UNUSED sw_port port) {
301     AVAHI_WARN_UNSUPPORTED;
302     return SW_E_NO_IMPL;
303 }
304
305 sw_result sw_socket_recv(
306     AVAHI_GCC_UNUSED sw_socket self,
307     AVAHI_GCC_UNUSED sw_octets buffer,
308     AVAHI_GCC_UNUSED sw_size_t max,
309     AVAHI_GCC_UNUSED sw_size_t * len) {
310     AVAHI_WARN_UNSUPPORTED;
311     return SW_E_NO_IMPL;
312 }
313
314 sw_result sw_socket_recvfrom(
315     AVAHI_GCC_UNUSED sw_socket self,
316     AVAHI_GCC_UNUSED sw_octets buffer,
317     AVAHI_GCC_UNUSED sw_size_t max,
318     AVAHI_GCC_UNUSED sw_size_t * len,
319     AVAHI_GCC_UNUSED sw_ipv4_address * from,
320     AVAHI_GCC_UNUSED sw_port * port,
321     AVAHI_GCC_UNUSED sw_ipv4_address * dest,
322     AVAHI_GCC_UNUSED sw_uint32 * interface_index) {
323     AVAHI_WARN_UNSUPPORTED;
324     return SW_E_NO_IMPL;
325 }
326
327 sw_result sw_socket_set_blocking_mode(
328     AVAHI_GCC_UNUSED sw_socket self,
329     AVAHI_GCC_UNUSED sw_bool blocking_mode) {
330     AVAHI_WARN_UNSUPPORTED;
331     return SW_E_NO_IMPL;
332 }
333
334 sw_result sw_socket_set_options(
335     AVAHI_GCC_UNUSED sw_socket self,
336     AVAHI_GCC_UNUSED sw_socket_options options) {
337     AVAHI_WARN_UNSUPPORTED;
338     return SW_E_NO_IMPL;
339 }
340
341 AVAHI_GCC_NORETURN
342 sw_ipv4_address sw_socket_ipv4_address(AVAHI_GCC_UNUSED sw_socket self) {
343     AVAHI_WARN_UNSUPPORTED_ABORT;
344 }
345
346 AVAHI_GCC_NORETURN
347 sw_port sw_socket_port(AVAHI_GCC_UNUSED sw_socket self) {
348     AVAHI_WARN_UNSUPPORTED_ABORT;
349 }
350
351 AVAHI_GCC_NORETURN
352 sw_sockdesc_t sw_socket_desc(AVAHI_GCC_UNUSED sw_socket self) {
353     AVAHI_WARN_UNSUPPORTED_ABORT;
354 }
355
356 sw_result sw_socket_close(AVAHI_GCC_UNUSED sw_socket self) {
357     AVAHI_WARN_UNSUPPORTED;
358     return SW_E_NO_IMPL;
359 }
360
361 sw_result sw_socket_options_init(AVAHI_GCC_UNUSED sw_socket_options * self) {
362     AVAHI_WARN_UNSUPPORTED;
363     return SW_E_NO_IMPL;
364 }
365
366 sw_result sw_socket_options_fina(AVAHI_GCC_UNUSED sw_socket_options self) {
367     AVAHI_WARN_UNSUPPORTED;
368     return SW_E_NO_IMPL;
369 }
370
371 sw_result sw_socket_options_set_debug(
372     AVAHI_GCC_UNUSED sw_socket_options self,
373     AVAHI_GCC_UNUSED sw_bool val) {
374     AVAHI_WARN_UNSUPPORTED;
375     return SW_E_NO_IMPL;
376 }
377
378 sw_result sw_socket_options_set_nodelay(
379     AVAHI_GCC_UNUSED sw_socket_options self,
380     AVAHI_GCC_UNUSED sw_bool val) {
381     AVAHI_WARN_UNSUPPORTED;
382     return SW_E_NO_IMPL;
383 }
384
385 sw_result sw_socket_options_set_dontroute(
386     AVAHI_GCC_UNUSED sw_socket_options self,
387     AVAHI_GCC_UNUSED sw_bool val) {
388     AVAHI_WARN_UNSUPPORTED;
389     return SW_E_NO_IMPL;
390 }
391
392 sw_result sw_socket_options_set_keepalive(
393     AVAHI_GCC_UNUSED sw_socket_options self,
394     AVAHI_GCC_UNUSED sw_bool val) {
395     AVAHI_WARN_UNSUPPORTED;
396     return SW_E_NO_IMPL;
397 }
398
399 sw_result sw_socket_options_set_linger(
400     AVAHI_GCC_UNUSED sw_socket_options self,
401     AVAHI_GCC_UNUSED sw_bool onoff,
402     AVAHI_GCC_UNUSED sw_uint32 linger) {
403     AVAHI_WARN_UNSUPPORTED;
404     return SW_E_NO_IMPL;
405 }
406
407 sw_result sw_socket_options_set_reuseaddr(
408     AVAHI_GCC_UNUSED sw_socket_options self,
409     AVAHI_GCC_UNUSED sw_bool val) {
410     AVAHI_WARN_UNSUPPORTED;
411     return SW_E_NO_IMPL;
412 }
413
414 sw_result sw_socket_options_set_rcvbuf(
415     AVAHI_GCC_UNUSED sw_socket_options self,
416     AVAHI_GCC_UNUSED sw_uint32 val) {
417     AVAHI_WARN_UNSUPPORTED;
418     return SW_E_NO_IMPL;
419 }
420
421 sw_result sw_socket_options_set_sndbuf(
422     AVAHI_GCC_UNUSED sw_socket_options self,
423     AVAHI_GCC_UNUSED sw_uint32 val) {
424     AVAHI_WARN_UNSUPPORTED;
425     return SW_E_NO_IMPL;
426 }
427
428 AVAHI_GCC_NORETURN
429 int sw_socket_error_code(void) {
430     AVAHI_WARN_UNSUPPORTED_ABORT;
431 }
432
433 sw_result sw_corby_orb_init(
434     AVAHI_GCC_UNUSED sw_corby_orb * self,
435     AVAHI_GCC_UNUSED sw_salt salt,
436     AVAHI_GCC_UNUSED const sw_corby_orb_config * config,
437     AVAHI_GCC_UNUSED sw_corby_orb_observer observer,
438     AVAHI_GCC_UNUSED sw_corby_orb_observer_func func,
439     AVAHI_GCC_UNUSED sw_opaque_t extra) {
440     AVAHI_WARN_UNSUPPORTED;
441     return SW_E_NO_IMPL;
442 }
443
444 sw_result sw_corby_orb_fina(AVAHI_GCC_UNUSED sw_corby_orb self) {
445     AVAHI_WARN_UNSUPPORTED;
446     return SW_E_NO_IMPL;
447 }
448
449 sw_result sw_corby_orb_register_servant(
450     AVAHI_GCC_UNUSED sw_corby_orb self,
451     AVAHI_GCC_UNUSED sw_corby_servant servant,
452     AVAHI_GCC_UNUSED sw_corby_servant_cb cb,
453     AVAHI_GCC_UNUSED sw_const_string oid,
454     AVAHI_GCC_UNUSED struct _sw_corby_object ** object,
455     AVAHI_GCC_UNUSED sw_const_string protocol_name) {
456     AVAHI_WARN_UNSUPPORTED;
457     return SW_E_NO_IMPL;
458 }
459
460 sw_result sw_corby_orb_unregister_servant(
461     AVAHI_GCC_UNUSED sw_corby_orb self,
462     AVAHI_GCC_UNUSED sw_const_string oid) {
463     AVAHI_WARN_UNSUPPORTED;
464     return SW_E_NO_IMPL;
465 }
466
467 sw_result sw_corby_orb_register_bidirectional_object(
468     AVAHI_GCC_UNUSED sw_corby_orb self,
469     AVAHI_GCC_UNUSED struct _sw_corby_object * object) {
470     AVAHI_WARN_UNSUPPORTED;
471     return SW_E_NO_IMPL;
472 }
473
474 sw_result sw_corby_orb_register_channel(
475     AVAHI_GCC_UNUSED sw_corby_orb self,
476     AVAHI_GCC_UNUSED struct _sw_corby_channel * channel) {
477     AVAHI_WARN_UNSUPPORTED;
478     return SW_E_NO_IMPL;
479 }
480
481 AVAHI_GCC_NORETURN
482 sw_corby_orb_delegate sw_corby_orb_get_delegate(AVAHI_GCC_UNUSED sw_corby_orb self) {
483     AVAHI_WARN_UNSUPPORTED_ABORT;
484 }
485
486 sw_result sw_corby_orb_set_delegate(
487     AVAHI_GCC_UNUSED sw_corby_orb self,
488     AVAHI_GCC_UNUSED sw_corby_orb_delegate delegate) {
489     AVAHI_WARN_UNSUPPORTED;
490     return SW_E_NO_IMPL;
491 }
492
493 sw_result sw_corby_orb_set_observer(
494     AVAHI_GCC_UNUSED sw_corby_orb self,
495     AVAHI_GCC_UNUSED sw_corby_orb_observer observer,
496     AVAHI_GCC_UNUSED sw_corby_orb_observer_func func,
497     AVAHI_GCC_UNUSED sw_opaque_t extra) {
498     AVAHI_WARN_UNSUPPORTED;
499     return SW_E_NO_IMPL;
500 }
501
502 sw_result sw_corby_orb_protocol_to_address(
503     AVAHI_GCC_UNUSED sw_corby_orb self,
504     AVAHI_GCC_UNUSED sw_const_string tag,
505     AVAHI_GCC_UNUSED sw_string addr,
506     AVAHI_GCC_UNUSED sw_port * port) {
507     AVAHI_WARN_UNSUPPORTED;
508     return SW_E_NO_IMPL;
509 }
510
511 sw_result sw_corby_orb_protocol_to_url(
512     AVAHI_GCC_UNUSED sw_corby_orb self,
513     AVAHI_GCC_UNUSED sw_const_string tag,
514     AVAHI_GCC_UNUSED sw_const_string name,
515     AVAHI_GCC_UNUSED sw_string url,
516     AVAHI_GCC_UNUSED sw_size_t url_len) {
517     AVAHI_WARN_UNSUPPORTED;
518     return SW_E_NO_IMPL;
519 }
520
521 sw_result sw_corby_orb_read_channel(
522     AVAHI_GCC_UNUSED sw_corby_orb self,
523     AVAHI_GCC_UNUSED struct _sw_corby_channel * channel) {
524     AVAHI_WARN_UNSUPPORTED;
525     return SW_E_NO_IMPL;
526 }
527
528 sw_result sw_corby_orb_dispatch_message(
529     AVAHI_GCC_UNUSED sw_corby_orb self,
530     AVAHI_GCC_UNUSED struct _sw_corby_channel * channel,
531     AVAHI_GCC_UNUSED struct _sw_corby_message * message,
532     AVAHI_GCC_UNUSED struct _sw_corby_buffer * buffer,
533     AVAHI_GCC_UNUSED sw_uint8 endian) {
534     AVAHI_WARN_UNSUPPORTED;
535     return SW_E_NO_IMPL;
536 }
537
538 sw_result sw_corby_message_init(AVAHI_GCC_UNUSED sw_corby_message * self) {
539     AVAHI_WARN_UNSUPPORTED;
540     return SW_E_NO_IMPL;
541 }
542
543 sw_result sw_corby_message_fina(AVAHI_GCC_UNUSED sw_corby_message self) {
544     AVAHI_WARN_UNSUPPORTED;
545     return SW_E_NO_IMPL;
546 }
547
548 sw_result sw_corby_buffer_init(AVAHI_GCC_UNUSED sw_corby_buffer * self) {
549     AVAHI_WARN_UNSUPPORTED;
550     return SW_E_NO_IMPL;
551 }
552
553 sw_result sw_corby_buffer_init_with_size(
554     AVAHI_GCC_UNUSED sw_corby_buffer * self,
555     AVAHI_GCC_UNUSED sw_size_t size) {
556     AVAHI_WARN_UNSUPPORTED;
557     return SW_E_NO_IMPL;
558 }
559
560 sw_result sw_corby_buffer_init_with_delegate(
561     AVAHI_GCC_UNUSED sw_corby_buffer * self,
562     AVAHI_GCC_UNUSED sw_corby_buffer_delegate delegate,
563     AVAHI_GCC_UNUSED sw_corby_buffer_overflow_func overflow,
564     AVAHI_GCC_UNUSED sw_corby_buffer_underflow_func underflow,
565     AVAHI_GCC_UNUSED sw_opaque_t extra) {
566     AVAHI_WARN_UNSUPPORTED;
567     return SW_E_NO_IMPL;
568 }
569
570 sw_result sw_corby_buffer_init_with_size_and_delegate(
571     AVAHI_GCC_UNUSED sw_corby_buffer * self,
572     AVAHI_GCC_UNUSED sw_size_t size,
573     AVAHI_GCC_UNUSED sw_corby_buffer_delegate delegate,
574     AVAHI_GCC_UNUSED sw_corby_buffer_overflow_func overflow,
575     AVAHI_GCC_UNUSED sw_corby_buffer_underflow_func underflow,
576     AVAHI_GCC_UNUSED sw_opaque_t extra) {
577     AVAHI_WARN_UNSUPPORTED;
578     return SW_E_NO_IMPL;
579 }
580
581 sw_result sw_corby_buffer_fina(AVAHI_GCC_UNUSED sw_corby_buffer self) {
582     AVAHI_WARN_UNSUPPORTED;
583     return SW_E_NO_IMPL;
584 }
585
586 void sw_corby_buffer_reset(AVAHI_GCC_UNUSED sw_corby_buffer self) {
587     AVAHI_WARN_UNSUPPORTED;
588 }
589
590 sw_result sw_corby_buffer_set_octets(
591     AVAHI_GCC_UNUSED sw_corby_buffer self,
592     AVAHI_GCC_UNUSED sw_octets octets,
593     AVAHI_GCC_UNUSED sw_size_t size) {
594     AVAHI_WARN_UNSUPPORTED;
595     return SW_E_NO_IMPL;
596 }
597
598 sw_octets sw_corby_buffer_octets(AVAHI_GCC_UNUSED sw_corby_buffer self) {
599     AVAHI_WARN_UNSUPPORTED;
600     return NULL;
601 }
602
603 sw_size_t sw_corby_buffer_bytes_used(AVAHI_GCC_UNUSED sw_corby_buffer self) {
604     AVAHI_WARN_UNSUPPORTED;
605     return 0;
606 }
607
608 sw_size_t sw_corby_buffer_size(AVAHI_GCC_UNUSED sw_corby_buffer self) {
609     AVAHI_WARN_UNSUPPORTED;
610     return 0;
611 }
612
613 sw_result sw_corby_buffer_put_int8(
614     AVAHI_GCC_UNUSED sw_corby_buffer self,
615     AVAHI_GCC_UNUSED sw_int8 val) {
616     AVAHI_WARN_UNSUPPORTED;
617     return SW_E_NO_IMPL;
618 }
619
620 sw_result sw_corby_buffer_put_uint8(
621     AVAHI_GCC_UNUSED sw_corby_buffer self,
622     AVAHI_GCC_UNUSED sw_uint8 val) {
623     AVAHI_WARN_UNSUPPORTED;
624     return SW_E_NO_IMPL;
625 }
626
627 sw_result sw_corby_buffer_put_int16(
628     AVAHI_GCC_UNUSED sw_corby_buffer self,
629     AVAHI_GCC_UNUSED sw_int16 val) {
630     AVAHI_WARN_UNSUPPORTED;
631     return SW_E_NO_IMPL;
632 }
633
634 sw_result sw_corby_buffer_put_uint16(
635     AVAHI_GCC_UNUSED sw_corby_buffer self,
636     AVAHI_GCC_UNUSED sw_uint16 val) {
637     AVAHI_WARN_UNSUPPORTED;
638     return SW_E_NO_IMPL;
639 }
640
641 sw_result sw_corby_buffer_put_int32(
642     AVAHI_GCC_UNUSED sw_corby_buffer self,
643     AVAHI_GCC_UNUSED sw_int32 val) {
644     AVAHI_WARN_UNSUPPORTED;
645     return SW_E_NO_IMPL;
646 }
647
648 sw_result sw_corby_buffer_put_uint32(
649     AVAHI_GCC_UNUSED sw_corby_buffer self,
650     AVAHI_GCC_UNUSED sw_uint32 val) {
651     AVAHI_WARN_UNSUPPORTED;
652     return SW_E_NO_IMPL;
653 }
654
655 sw_result sw_corby_buffer_put_octets(
656     AVAHI_GCC_UNUSED sw_corby_buffer self,
657     AVAHI_GCC_UNUSED sw_const_octets val,
658     AVAHI_GCC_UNUSED sw_size_t size) {
659     AVAHI_WARN_UNSUPPORTED;
660     return SW_E_NO_IMPL;
661 }
662
663 sw_result sw_corby_buffer_put_sized_octets(
664     AVAHI_GCC_UNUSED sw_corby_buffer self,
665     AVAHI_GCC_UNUSED sw_const_octets val,
666     AVAHI_GCC_UNUSED sw_uint32 len) {
667     AVAHI_WARN_UNSUPPORTED;
668     return SW_E_NO_IMPL;
669 }
670
671 sw_result sw_corby_buffer_put_cstring(
672     AVAHI_GCC_UNUSED sw_corby_buffer self,
673     AVAHI_GCC_UNUSED sw_const_string val) {
674     AVAHI_WARN_UNSUPPORTED;
675     return SW_E_NO_IMPL;
676 }
677
678 sw_result sw_corby_buffer_put_object(
679     AVAHI_GCC_UNUSED sw_corby_buffer self,
680     AVAHI_GCC_UNUSED const struct _sw_corby_object * object) {
681     AVAHI_WARN_UNSUPPORTED;
682     return SW_E_NO_IMPL;
683 }
684
685 sw_result sw_corby_buffer_put_pad(
686     AVAHI_GCC_UNUSED sw_corby_buffer self,
687     AVAHI_GCC_UNUSED sw_corby_buffer_pad pad) {
688     AVAHI_WARN_UNSUPPORTED;
689     return SW_E_NO_IMPL;
690 }
691
692 sw_result sw_corby_buffer_get_int8(
693     AVAHI_GCC_UNUSED sw_corby_buffer self,
694     AVAHI_GCC_UNUSED sw_int8 * val) {
695     AVAHI_WARN_UNSUPPORTED;
696     return SW_E_NO_IMPL;
697 }
698
699 sw_result sw_corby_buffer_get_uint8(
700     AVAHI_GCC_UNUSED sw_corby_buffer self,
701     AVAHI_GCC_UNUSED sw_uint8 * val) {
702     AVAHI_WARN_UNSUPPORTED;
703     return SW_E_NO_IMPL;
704 }
705
706 sw_result sw_corby_buffer_get_int16(
707     AVAHI_GCC_UNUSED sw_corby_buffer self,
708     AVAHI_GCC_UNUSED sw_int16 * val,
709     AVAHI_GCC_UNUSED sw_uint8 endian) {
710     AVAHI_WARN_UNSUPPORTED;
711     return SW_E_NO_IMPL;
712 }
713
714 sw_result sw_corby_buffer_get_uint16(
715     AVAHI_GCC_UNUSED sw_corby_buffer self,
716     AVAHI_GCC_UNUSED sw_uint16 * val,
717     AVAHI_GCC_UNUSED sw_uint8 endian) {
718     AVAHI_WARN_UNSUPPORTED;
719     return SW_E_NO_IMPL;
720 }
721
722 sw_result sw_corby_buffer_get_int32(
723     AVAHI_GCC_UNUSED sw_corby_buffer self,
724     AVAHI_GCC_UNUSED sw_int32 * val,
725     AVAHI_GCC_UNUSED sw_uint8 endian) {
726     AVAHI_WARN_UNSUPPORTED;
727     return SW_E_NO_IMPL;
728 }
729
730 sw_result sw_corby_buffer_get_uint32(
731     AVAHI_GCC_UNUSED sw_corby_buffer self,
732     AVAHI_GCC_UNUSED sw_uint32 * val,
733     AVAHI_GCC_UNUSED sw_uint8 endian) {
734     AVAHI_WARN_UNSUPPORTED;
735     return SW_E_NO_IMPL;
736 }
737
738 sw_result sw_corby_buffer_get_octets(
739     AVAHI_GCC_UNUSED sw_corby_buffer self,
740     AVAHI_GCC_UNUSED sw_octets octets,
741     AVAHI_GCC_UNUSED sw_size_t size) {
742     AVAHI_WARN_UNSUPPORTED;
743     return SW_E_NO_IMPL;
744 }
745
746 sw_result sw_corby_buffer_allocate_and_get_sized_octets(
747     AVAHI_GCC_UNUSED sw_corby_buffer self,
748     AVAHI_GCC_UNUSED sw_octets * val,
749     AVAHI_GCC_UNUSED sw_uint32 * size,
750     AVAHI_GCC_UNUSED sw_uint8 endian) {
751     AVAHI_WARN_UNSUPPORTED;
752     return SW_E_NO_IMPL;
753 }
754
755 sw_result sw_corby_buffer_get_zerocopy_sized_octets(
756     AVAHI_GCC_UNUSED sw_corby_buffer self,
757     AVAHI_GCC_UNUSED sw_octets * val,
758     AVAHI_GCC_UNUSED sw_uint32 * size,
759     AVAHI_GCC_UNUSED sw_uint8 endian) {
760     AVAHI_WARN_UNSUPPORTED;
761     return SW_E_NO_IMPL;
762 }
763
764 sw_result sw_corby_buffer_get_sized_octets(
765     AVAHI_GCC_UNUSED sw_corby_buffer self,
766     AVAHI_GCC_UNUSED sw_octets val,
767     AVAHI_GCC_UNUSED sw_uint32 * len,
768     AVAHI_GCC_UNUSED sw_uint8 endian) {
769     AVAHI_WARN_UNSUPPORTED;
770     return SW_E_NO_IMPL;
771 }
772
773 sw_result sw_corby_buffer_allocate_and_get_cstring(
774     AVAHI_GCC_UNUSED sw_corby_buffer self,
775     AVAHI_GCC_UNUSED sw_string * val,
776     AVAHI_GCC_UNUSED sw_uint32 * len,
777     AVAHI_GCC_UNUSED sw_uint8 endian) {
778     AVAHI_WARN_UNSUPPORTED;
779     return SW_E_NO_IMPL;
780 }
781
782 sw_result sw_corby_buffer_get_zerocopy_cstring(
783     AVAHI_GCC_UNUSED sw_corby_buffer self,
784     AVAHI_GCC_UNUSED sw_string * val,
785     AVAHI_GCC_UNUSED sw_uint32 * len,
786     AVAHI_GCC_UNUSED sw_uint8 endian) {
787     AVAHI_WARN_UNSUPPORTED;
788     return SW_E_NO_IMPL;
789 }
790
791 sw_result sw_corby_buffer_get_cstring(
792     AVAHI_GCC_UNUSED sw_corby_buffer self,
793     AVAHI_GCC_UNUSED sw_string val,
794     AVAHI_GCC_UNUSED sw_uint32 * len,
795     AVAHI_GCC_UNUSED sw_uint8 endian) {
796     AVAHI_WARN_UNSUPPORTED;
797     return SW_E_NO_IMPL;
798 }
799
800 sw_result sw_corby_buffer_get_object(
801     AVAHI_GCC_UNUSED sw_corby_buffer self,
802     AVAHI_GCC_UNUSED struct _sw_corby_object ** object,
803     AVAHI_GCC_UNUSED sw_uint8 endian) {
804     AVAHI_WARN_UNSUPPORTED;
805     return SW_E_NO_IMPL;
806 }
807
808 sw_result sw_corby_channel_start_request(
809     AVAHI_GCC_UNUSED sw_corby_channel self,
810     AVAHI_GCC_UNUSED sw_const_corby_profile profile,
811     AVAHI_GCC_UNUSED struct _sw_corby_buffer ** buffer,
812     AVAHI_GCC_UNUSED sw_const_string op,
813     AVAHI_GCC_UNUSED sw_uint32 oplen,
814     AVAHI_GCC_UNUSED sw_bool reply_expected) {
815     AVAHI_WARN_UNSUPPORTED;
816     return SW_E_NO_IMPL;
817 }
818
819 sw_result sw_corby_channel_start_reply(
820     AVAHI_GCC_UNUSED sw_corby_channel self,
821     AVAHI_GCC_UNUSED struct _sw_corby_buffer ** buffer,
822     AVAHI_GCC_UNUSED sw_uint32 request_id,
823     AVAHI_GCC_UNUSED sw_corby_reply_status status) {
824     AVAHI_WARN_UNSUPPORTED;
825     return SW_E_NO_IMPL;
826 }
827
828 sw_result sw_corby_channel_send(
829     AVAHI_GCC_UNUSED sw_corby_channel self,
830     AVAHI_GCC_UNUSED struct _sw_corby_buffer * buffer,
831     AVAHI_GCC_UNUSED sw_corby_buffer_observer observer,
832     AVAHI_GCC_UNUSED sw_corby_buffer_written_func func,
833     AVAHI_GCC_UNUSED sw_opaque_t extra) {
834     AVAHI_WARN_UNSUPPORTED;
835     return SW_E_NO_IMPL;
836 }
837
838 sw_result sw_corby_channel_recv(
839     AVAHI_GCC_UNUSED sw_corby_channel self,
840     AVAHI_GCC_UNUSED sw_salt * salt,
841     AVAHI_GCC_UNUSED struct _sw_corby_message ** message,
842     AVAHI_GCC_UNUSED sw_uint32 * request_id,
843     AVAHI_GCC_UNUSED sw_string * op,
844     AVAHI_GCC_UNUSED sw_uint32 * op_len,
845     AVAHI_GCC_UNUSED struct _sw_corby_buffer ** buffer,
846     AVAHI_GCC_UNUSED sw_uint8 * endian,
847     AVAHI_GCC_UNUSED sw_bool block) {
848     AVAHI_WARN_UNSUPPORTED;
849     return SW_E_NO_IMPL;
850 }
851
852 sw_result sw_corby_channel_last_recv_from(
853     AVAHI_GCC_UNUSED sw_corby_channel self,
854     AVAHI_GCC_UNUSED sw_ipv4_address * from,
855     AVAHI_GCC_UNUSED sw_port * from_port) {
856     AVAHI_WARN_UNSUPPORTED;
857     return SW_E_NO_IMPL;
858 }
859
860 sw_result sw_corby_channel_ff(
861     AVAHI_GCC_UNUSED sw_corby_channel self,
862     AVAHI_GCC_UNUSED struct _sw_corby_buffer * buffer) {
863     AVAHI_WARN_UNSUPPORTED;
864     return SW_E_NO_IMPL;
865 }
866
867 AVAHI_GCC_NORETURN
868 sw_socket sw_corby_channel_socket(AVAHI_GCC_UNUSED sw_corby_channel self) {
869     AVAHI_WARN_UNSUPPORTED_ABORT;
870 }
871
872 sw_result sw_corby_channel_retain(AVAHI_GCC_UNUSED sw_corby_channel self) {
873     AVAHI_WARN_UNSUPPORTED;
874     return SW_E_NO_IMPL;
875 }
876
877 sw_result sw_corby_channel_set_delegate(
878     AVAHI_GCC_UNUSED sw_corby_channel self,
879     AVAHI_GCC_UNUSED sw_corby_channel_delegate delegate) {
880     AVAHI_WARN_UNSUPPORTED;
881     return SW_E_NO_IMPL;
882 }
883
884 AVAHI_GCC_NORETURN
885 sw_corby_channel_delegate sw_corby_channel_get_delegate(
886     AVAHI_GCC_UNUSED sw_corby_channel self) {
887     AVAHI_WARN_UNSUPPORTED_ABORT;
888 }
889
890 void sw_corby_channel_set_app_data(
891     AVAHI_GCC_UNUSED sw_corby_channel self,
892     AVAHI_GCC_UNUSED sw_opaque app_data) {
893     AVAHI_WARN_UNSUPPORTED;
894 }
895
896 AVAHI_GCC_NORETURN
897 sw_opaque sw_corby_channel_get_app_data(AVAHI_GCC_UNUSED sw_corby_channel self) {
898     AVAHI_WARN_UNSUPPORTED_ABORT;
899 }
900
901 sw_result sw_corby_channel_fina(AVAHI_GCC_UNUSED sw_corby_channel self) {
902     AVAHI_WARN_UNSUPPORTED;
903     return SW_E_NO_IMPL;
904 }
905
906 sw_result sw_corby_object_init_from_url(
907     AVAHI_GCC_UNUSED sw_corby_object * self,
908     AVAHI_GCC_UNUSED struct _sw_corby_orb * orb,
909     AVAHI_GCC_UNUSED sw_const_string url,
910     AVAHI_GCC_UNUSED sw_socket_options options,
911     AVAHI_GCC_UNUSED sw_uint32 bufsize) {
912     AVAHI_WARN_UNSUPPORTED;
913     return SW_E_NO_IMPL;
914 }
915
916 sw_result sw_corby_object_fina(
917     AVAHI_GCC_UNUSED sw_corby_object self) {
918     AVAHI_WARN_UNSUPPORTED;
919     return SW_E_NO_IMPL;
920 }
921
922 sw_result sw_corby_object_start_request(
923     AVAHI_GCC_UNUSED sw_corby_object self,
924     AVAHI_GCC_UNUSED sw_const_string op,
925     AVAHI_GCC_UNUSED sw_uint32 op_len,
926     AVAHI_GCC_UNUSED sw_bool reply_expected,
927     AVAHI_GCC_UNUSED sw_corby_buffer * buffer) {
928     AVAHI_WARN_UNSUPPORTED;
929     return SW_E_NO_IMPL;
930 }
931
932 sw_result sw_corby_object_send(
933     AVAHI_GCC_UNUSED sw_corby_object self,
934     AVAHI_GCC_UNUSED sw_corby_buffer buffer,
935     AVAHI_GCC_UNUSED sw_corby_buffer_observer observer,
936     AVAHI_GCC_UNUSED sw_corby_buffer_written_func func,
937     AVAHI_GCC_UNUSED sw_opaque extra) {
938     AVAHI_WARN_UNSUPPORTED;
939     return SW_E_NO_IMPL;
940 }
941
942 sw_result sw_corby_object_recv(
943     AVAHI_GCC_UNUSED sw_corby_object self,
944     AVAHI_GCC_UNUSED sw_corby_message * message,
945     AVAHI_GCC_UNUSED sw_corby_buffer * buffer,
946     AVAHI_GCC_UNUSED sw_uint8 * endian,
947     AVAHI_GCC_UNUSED sw_bool block) {
948     AVAHI_WARN_UNSUPPORTED;
949     return SW_E_NO_IMPL;
950 }
951
952 sw_result sw_corby_object_channel(
953     AVAHI_GCC_UNUSED sw_corby_object self,
954     AVAHI_GCC_UNUSED sw_corby_channel * channel) {
955     AVAHI_WARN_UNSUPPORTED;
956     return SW_E_NO_IMPL;
957 }
958
959 sw_result sw_corby_object_set_channel(
960     AVAHI_GCC_UNUSED sw_corby_object self,
961     AVAHI_GCC_UNUSED sw_corby_channel channel) {
962     AVAHI_WARN_UNSUPPORTED;
963     return SW_E_NO_IMPL;
964 }
965
966 sw_result sw_discovery_publish_host(
967     AVAHI_GCC_UNUSED sw_discovery self,
968     AVAHI_GCC_UNUSED sw_uint32 interface_index,
969     AVAHI_GCC_UNUSED sw_const_string name,
970     AVAHI_GCC_UNUSED sw_const_string domain,
971     AVAHI_GCC_UNUSED sw_ipv4_address address,
972     AVAHI_GCC_UNUSED sw_discovery_publish_reply reply,
973     AVAHI_GCC_UNUSED sw_opaque extra,
974     AVAHI_GCC_UNUSED sw_discovery_oid * oid) {
975     AVAHI_WARN_UNSUPPORTED;
976     return SW_E_NO_IMPL;
977 }
978
979 sw_result sw_discovery_publish_update(
980     AVAHI_GCC_UNUSED sw_discovery self,
981     AVAHI_GCC_UNUSED sw_discovery_oid oid,
982     AVAHI_GCC_UNUSED sw_octets text_record,
983     AVAHI_GCC_UNUSED sw_uint32 text_record_len) {
984     AVAHI_WARN_UNSUPPORTED;
985     return SW_E_NO_IMPL;
986 }
987
988 sw_result sw_discovery_query_record(
989     AVAHI_GCC_UNUSED sw_discovery self,
990     AVAHI_GCC_UNUSED sw_uint32 interface_index,
991     AVAHI_GCC_UNUSED sw_uint32 flags,
992     AVAHI_GCC_UNUSED sw_const_string fullname,
993     AVAHI_GCC_UNUSED sw_uint16 rrtype,
994     AVAHI_GCC_UNUSED sw_uint16 rrclass,
995     AVAHI_GCC_UNUSED sw_discovery_query_record_reply reply,
996     AVAHI_GCC_UNUSED sw_opaque extra,
997     AVAHI_GCC_UNUSED sw_discovery_oid * oid) {
998     AVAHI_WARN_UNSUPPORTED;
999     return SW_E_NO_IMPL;
1000 }
1001
1002 sw_result sw_text_record_string_iterator_init(
1003     AVAHI_GCC_UNUSED sw_text_record_string_iterator * self,
1004     AVAHI_GCC_UNUSED sw_const_string text_record_string) {
1005     AVAHI_WARN_UNSUPPORTED;
1006     return SW_E_NO_IMPL;
1007 }
1008
1009 sw_result sw_text_record_string_iterator_fina(
1010     AVAHI_GCC_UNUSED sw_text_record_string_iterator self) {
1011     AVAHI_WARN_UNSUPPORTED;
1012     return SW_E_NO_IMPL;
1013 }
1014
1015 sw_result sw_text_record_string_iterator_next(
1016     AVAHI_GCC_UNUSED sw_text_record_string_iterator self,
1017     AVAHI_GCC_UNUSED char key[255],
1018     AVAHI_GCC_UNUSED char val[255]) {
1019     AVAHI_WARN_UNSUPPORTED;
1020     return SW_E_NO_IMPL;
1021 }