]> git.meshlink.io Git - catta/blob - avahi-compat-libdns_sd/unsupported.c
get rid of a lot of old svn cruft
[catta] / avahi-compat-libdns_sd / unsupported.c
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 "dns_sd.h"
27 #include "warn.h"
28
29 DNSServiceErrorType DNSSD_API DNSServiceRegisterRecord (
30     AVAHI_GCC_UNUSED DNSServiceRef sdRef,
31     AVAHI_GCC_UNUSED DNSRecordRef *RecordRef,
32     AVAHI_GCC_UNUSED DNSServiceFlags flags,
33     AVAHI_GCC_UNUSED uint32_t interfaceIndex,
34     AVAHI_GCC_UNUSED const char *fullname,
35     AVAHI_GCC_UNUSED uint16_t rrtype,
36     AVAHI_GCC_UNUSED uint16_t rrclass,
37     AVAHI_GCC_UNUSED uint16_t rdlen,
38     AVAHI_GCC_UNUSED const void *rdata,
39     AVAHI_GCC_UNUSED uint32_t ttl,
40     AVAHI_GCC_UNUSED DNSServiceRegisterRecordReply callBack,
41     AVAHI_GCC_UNUSED void *context) {
42
43     AVAHI_WARN_UNSUPPORTED;
44
45     return kDNSServiceErr_Unsupported;
46 }
47
48 DNSServiceErrorType DNSSD_API DNSServiceQueryRecord (
49     AVAHI_GCC_UNUSED DNSServiceRef *sdRef,
50     AVAHI_GCC_UNUSED DNSServiceFlags flags,
51     AVAHI_GCC_UNUSED uint32_t interfaceIndex,
52     AVAHI_GCC_UNUSED const char *fullname,
53     AVAHI_GCC_UNUSED uint16_t rrtype,
54     AVAHI_GCC_UNUSED uint16_t rrclass,
55     AVAHI_GCC_UNUSED DNSServiceQueryRecordReply callBack,
56     AVAHI_GCC_UNUSED void *context) {
57
58     AVAHI_WARN_UNSUPPORTED;
59
60     return kDNSServiceErr_Unsupported;
61 }
62
63 DNSServiceErrorType DNSSD_API DNSServiceReconfirmRecord (
64     AVAHI_GCC_UNUSED DNSServiceFlags flags,
65     AVAHI_GCC_UNUSED uint32_t interfaceIndex,
66     AVAHI_GCC_UNUSED const char *fullname,
67     AVAHI_GCC_UNUSED uint16_t rrtype,
68     AVAHI_GCC_UNUSED uint16_t rrclass,
69     AVAHI_GCC_UNUSED uint16_t rdlen,
70     AVAHI_GCC_UNUSED const void *rdata) {
71
72     AVAHI_WARN_UNSUPPORTED;
73
74     return kDNSServiceErr_Unsupported;
75 }
76
77 DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(AVAHI_GCC_UNUSED DNSServiceRef *sdRef) {
78     AVAHI_WARN_UNSUPPORTED;
79
80     return kDNSServiceErr_Unsupported;
81 }
82
83 DNSServiceErrorType DNSSD_API DNSServiceAddRecord(
84     AVAHI_GCC_UNUSED DNSServiceRef sdRef,
85     AVAHI_GCC_UNUSED DNSRecordRef *RecordRef,
86     AVAHI_GCC_UNUSED DNSServiceFlags flags,
87     AVAHI_GCC_UNUSED uint16_t rrtype,
88     AVAHI_GCC_UNUSED uint16_t rdlen,
89     AVAHI_GCC_UNUSED const void *rdata,
90     AVAHI_GCC_UNUSED uint32_t ttl) {
91
92     AVAHI_WARN_UNSUPPORTED;
93
94     return kDNSServiceErr_Unsupported;
95 }
96
97 DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord(
98     AVAHI_GCC_UNUSED DNSServiceRef sdRef,
99     AVAHI_GCC_UNUSED DNSRecordRef RecordRef,
100     AVAHI_GCC_UNUSED DNSServiceFlags flags) {
101
102     AVAHI_WARN_UNSUPPORTED;
103
104     return kDNSServiceErr_Unsupported;
105 }
106
107