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