]> git.meshlink.io Git - catta/blob - compat-bonjour/unsupported.c
2afbae299549b46825fcf41bad34cb12c5f3a0e2
[catta] / compat-bonjour / 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 DNSServiceEnumerateDomains(
30     DNSServiceRef *sdRef,
31     DNSServiceFlags flags,
32     uint32_t interfaceIndex,
33     DNSServiceDomainEnumReply callBack,
34     void *context) {
35
36     AVAHI_WARN_UNSUPPORTED;
37     
38     return kDNSServiceErr_Unsupported;
39 }
40
41 DNSServiceErrorType DNSSD_API DNSServiceRegister (
42     DNSServiceRef *sdRef,
43     DNSServiceFlags flags,
44     uint32_t interfaceIndex,
45     const char *name,        
46     const char *regtype,
47     const char *domain,      
48     const char *host,        
49     uint16_t port,
50     uint16_t txtLen,
51     const void *txtRecord,   
52     DNSServiceRegisterReply callBack,    
53     void *context) {
54
55     AVAHI_WARN_UNSUPPORTED;
56
57     return kDNSServiceErr_Unsupported;
58 }
59
60 DNSServiceErrorType DNSSD_API DNSServiceRegisterRecord (
61     DNSServiceRef sdRef,
62     DNSRecordRef *RecordRef,
63     DNSServiceFlags flags,
64     uint32_t interfaceIndex,
65     const char *fullname,
66     uint16_t rrtype,
67     uint16_t rrclass,
68     uint16_t rdlen,
69     const void *rdata,
70     uint32_t ttl,
71     DNSServiceRegisterRecordReply callBack,
72     void *context) {
73
74     AVAHI_WARN_UNSUPPORTED;
75     
76     return kDNSServiceErr_Unsupported;
77 }
78
79 DNSServiceErrorType DNSSD_API DNSServiceQueryRecord (
80     DNSServiceRef *sdRef,
81     DNSServiceFlags flags,
82     uint32_t interfaceIndex,
83     const char *fullname,
84     uint16_t rrtype,
85     uint16_t rrclass,
86     DNSServiceQueryRecordReply callBack,
87     void *context) {
88
89     AVAHI_WARN_UNSUPPORTED;
90     
91     return kDNSServiceErr_Unsupported;
92 }
93
94 void DNSSD_API DNSServiceReconfirmRecord (
95     DNSServiceFlags flags,
96     uint32_t interfaceIndex,
97     const char *fullname,
98     uint16_t rrtype,
99     uint16_t rrclass,
100     uint16_t rdlen,
101     const void *rdata) {
102
103     AVAHI_WARN_UNSUPPORTED;
104     
105     return;
106 }
107
108 DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(DNSServiceRef *sdRef) {
109     AVAHI_WARN_UNSUPPORTED;
110     
111     return kDNSServiceErr_Unsupported;
112 }
113
114 DNSServiceErrorType DNSSD_API DNSServiceAddRecord(
115     DNSServiceRef sdRef,
116     DNSRecordRef *RecordRef,
117     DNSServiceFlags flags,
118     uint16_t rrtype,
119     uint16_t rdlen,
120     const void *rdata,
121     uint32_t ttl) {
122
123     AVAHI_WARN_UNSUPPORTED;
124     
125     return kDNSServiceErr_Unsupported;
126 }
127
128 DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord(
129     DNSServiceRef sdRef,
130     DNSRecordRef RecordRef,     
131     DNSServiceFlags flags,
132     uint16_t rdlen,
133     const void *rdata,
134     uint32_t ttl) {
135
136     AVAHI_WARN_UNSUPPORTED;
137     
138     return kDNSServiceErr_Unsupported;
139 }
140
141 DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord(
142     DNSServiceRef sdRef,
143     DNSRecordRef RecordRef,
144     DNSServiceFlags flags) {
145
146     AVAHI_WARN_UNSUPPORTED;
147     
148     return kDNSServiceErr_Unsupported;
149 }
150
151