From 0e203251414d56b3f6b8d4dafde19a1d27b18caf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 13 Oct 2005 01:26:32 +0000 Subject: implement address related functions git-svn-id: file:///home/lennart/svn/public/avahi/trunk@753 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-compat-howl/unsupported.c | 165 ---------------------------------------- 1 file changed, 165 deletions(-) (limited to 'avahi-compat-howl/unsupported.c') diff --git a/avahi-compat-howl/unsupported.c b/avahi-compat-howl/unsupported.c index dc5077a..b7beb0a 100644 --- a/avahi-compat-howl/unsupported.c +++ b/avahi-compat-howl/unsupported.c @@ -232,82 +232,6 @@ void sw_print_debug( AVAHI_WARN_UNSUPPORTED; } -sw_ipv4_address sw_ipv4_address_any(void) { - AVAHI_WARN_UNSUPPORTED_ABORT; -} - -sw_ipv4_address sw_ipv4_address_loopback(void) { - AVAHI_WARN_UNSUPPORTED_ABORT; -} - -sw_result sw_ipv4_address_init(sw_ipv4_address * self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_ipv4_address_init_from_saddr( - sw_ipv4_address * self, - sw_saddr saddr) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_ipv4_address_init_from_name( - sw_ipv4_address * self, - sw_const_string name) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_ipv4_address_init_from_address( - sw_ipv4_address * self, - sw_ipv4_address addr) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_ipv4_address_init_from_this_host(sw_ipv4_address * self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_ipv4_address_fina(sw_ipv4_address self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_bool sw_ipv4_address_is_any(sw_ipv4_address self) { - AVAHI_WARN_UNSUPPORTED_ABORT; -} - -sw_saddr sw_ipv4_address_saddr(sw_ipv4_address self) { - AVAHI_WARN_UNSUPPORTED_ABORT; -} - -sw_string sw_ipv4_address_name( - sw_ipv4_address self, - sw_string name, - sw_uint32 len) { - AVAHI_WARN_UNSUPPORTED; - return NULL; -} - -sw_result sw_ipv4_address_decompose( - sw_ipv4_address self, - sw_uint8 * a1, - sw_uint8 * a2, - sw_uint8 * a3, - sw_uint8 * a4) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_bool sw_ipv4_address_equals( - sw_ipv4_address self, - sw_ipv4_address addr) { - AVAHI_WARN_UNSUPPORTED_ABORT; -} - sw_result sw_tcp_socket_init(sw_socket * self) { AVAHI_WARN_UNSUPPORTED; return SW_DISCOVERY_E_NOT_SUPPORTED; @@ -1194,92 +1118,3 @@ sw_result sw_discovery_salt( return SW_DISCOVERY_E_NOT_SUPPORTED; } -sw_result sw_text_record_init( - sw_text_record * self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_fina( - sw_text_record self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_add_string( - sw_text_record self, - sw_const_string string) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_add_key_and_string_value( - sw_text_record self, - sw_const_string key, - sw_const_string val) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_add_key_and_binary_value( - sw_text_record self, - sw_const_string key, - sw_octets val, - sw_uint32 len) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_octets sw_text_record_bytes(sw_text_record self) { - AVAHI_WARN_UNSUPPORTED; - return NULL; -} - -sw_uint32 sw_text_record_len(sw_text_record self) { - AVAHI_WARN_UNSUPPORTED; - return 0; -} - -sw_result sw_text_record_iterator_init( - sw_text_record_iterator * self, - sw_octets text_record, - sw_uint32 text_record_len) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_iterator_fina( - sw_text_record_iterator self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_iterator_next( - sw_text_record_iterator self, - char key[255], - sw_uint8 val[255], - sw_uint32 * val_len) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_string_iterator_init( - sw_text_record_string_iterator * self, - sw_const_string text_record_string) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_string_iterator_fina( - sw_text_record_string_iterator self) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} - -sw_result sw_text_record_string_iterator_next( - sw_text_record_string_iterator self, - char key[255], - char val[255]) { - AVAHI_WARN_UNSUPPORTED; - return SW_DISCOVERY_E_NOT_SUPPORTED; -} -- cgit