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