X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-compat-libdns_sd%2Funsupported.c;h=a460b415cd4f1eee50494da6e61b73763deef645;hb=5b67d0bbb21412bcdf7a271ddf34823f8776dc06;hp=0e08ad67c2fcf65583508d8e8b6b0e91ec10230b;hpb=854f901f491ccda79aee11edc3d59109cb229d28;p=catta diff --git a/avahi-compat-libdns_sd/unsupported.c b/avahi-compat-libdns_sd/unsupported.c index 0e08ad6..a460b41 100644 --- a/avahi-compat-libdns_sd/unsupported.c +++ b/avahi-compat-libdns_sd/unsupported.c @@ -62,7 +62,7 @@ DNSServiceErrorType DNSSD_API DNSServiceQueryRecord ( return kDNSServiceErr_Unsupported; } -void DNSSD_API DNSServiceReconfirmRecord ( +DNSServiceErrorType DNSSD_API DNSServiceReconfirmRecord ( AVAHI_GCC_UNUSED DNSServiceFlags flags, AVAHI_GCC_UNUSED uint32_t interfaceIndex, AVAHI_GCC_UNUSED const char *fullname, @@ -73,7 +73,7 @@ void DNSSD_API DNSServiceReconfirmRecord ( AVAHI_WARN_UNSUPPORTED; - return; + return kDNSServiceErr_Unsupported; } DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(AVAHI_GCC_UNUSED DNSServiceRef *sdRef) { @@ -96,19 +96,6 @@ DNSServiceErrorType DNSSD_API DNSServiceAddRecord( return kDNSServiceErr_Unsupported; } -DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord( - AVAHI_GCC_UNUSED DNSServiceRef sdRef, - AVAHI_GCC_UNUSED DNSRecordRef RecordRef, - AVAHI_GCC_UNUSED DNSServiceFlags flags, - AVAHI_GCC_UNUSED uint16_t rdlen, - AVAHI_GCC_UNUSED const void *rdata, - AVAHI_GCC_UNUSED uint32_t ttl) { - - AVAHI_WARN_UNSUPPORTED; - - return kDNSServiceErr_Unsupported; -} - DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord( AVAHI_GCC_UNUSED DNSServiceRef sdRef, AVAHI_GCC_UNUSED DNSRecordRef RecordRef,