]> git.meshlink.io Git - catta/blob - compat-bonjour/unsupported.c
972f3e502747854597627a7752e2c21131552eb8
[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 int DNSSD_API DNSServiceConstructFullName (
61     char *fullName,
62     const char *service,   
63     const char *regtype,
64     const char *domain) {
65
66     AVAHI_WARN_UNSUPPORTED;
67
68     return kDNSServiceErr_Unsupported;
69 }
70
71 DNSServiceErrorType DNSSD_API DNSServiceRegisterRecord (
72     DNSServiceRef sdRef,
73     DNSRecordRef *RecordRef,
74     DNSServiceFlags flags,
75     uint32_t interfaceIndex,
76     const char *fullname,
77     uint16_t rrtype,
78     uint16_t rrclass,
79     uint16_t rdlen,
80     const void *rdata,
81     uint32_t ttl,
82     DNSServiceRegisterRecordReply callBack,
83     void *context) {
84
85     AVAHI_WARN_UNSUPPORTED;
86     
87     return kDNSServiceErr_Unsupported;
88 }
89
90 DNSServiceErrorType DNSSD_API DNSServiceQueryRecord (
91     DNSServiceRef *sdRef,
92     DNSServiceFlags flags,
93     uint32_t interfaceIndex,
94     const char *fullname,
95     uint16_t rrtype,
96     uint16_t rrclass,
97     DNSServiceQueryRecordReply callBack,
98     void *context) {
99
100     AVAHI_WARN_UNSUPPORTED;
101     
102     return kDNSServiceErr_Unsupported;
103 }
104
105 void DNSSD_API DNSServiceReconfirmRecord (
106     DNSServiceFlags flags,
107     uint32_t interfaceIndex,
108     const char *fullname,
109     uint16_t rrtype,
110     uint16_t rrclass,
111     uint16_t rdlen,
112     const void *rdata) {
113
114     AVAHI_WARN_UNSUPPORTED;
115     
116     return;
117 }
118
119 DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(DNSServiceRef *sdRef) {
120     AVAHI_WARN_UNSUPPORTED;
121     
122     return kDNSServiceErr_Unsupported;
123 }
124
125 DNSServiceErrorType DNSSD_API DNSServiceAddRecord(
126     DNSServiceRef sdRef,
127     DNSRecordRef *RecordRef,
128     DNSServiceFlags flags,
129     uint16_t rrtype,
130     uint16_t rdlen,
131     const void *rdata,
132     uint32_t ttl) {
133
134     AVAHI_WARN_UNSUPPORTED;
135     
136     return kDNSServiceErr_Unsupported;
137 }
138
139 DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord(
140     DNSServiceRef sdRef,
141     DNSRecordRef RecordRef,     
142     DNSServiceFlags flags,
143     uint16_t rdlen,
144     const void *rdata,
145     uint32_t ttl) {
146
147     AVAHI_WARN_UNSUPPORTED;
148     
149     return kDNSServiceErr_Unsupported;
150 }
151
152 DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord(
153     DNSServiceRef sdRef,
154     DNSRecordRef RecordRef,
155     DNSServiceFlags flags) {
156
157     AVAHI_WARN_UNSUPPORTED;
158     
159     return kDNSServiceErr_Unsupported;
160 }
161
162