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