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