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