• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/avahi-0.6.31/avahi-compat-libdns_sd/
1/***
2  This file is part of avahi.
3
4  avahi is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Lesser General Public License as
6  published by the Free Software Foundation; either version 2.1 of the
7  License, or (at your option) any later version.
8
9  avahi is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
12  Public License for more details.
13
14  You should have received a copy of the GNU Lesser General Public
15  License along with avahi; if not, write to the Free Software
16  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17  USA.
18***/
19
20#ifdef HAVE_CONFIG_H
21#include <config.h>
22#endif
23
24#include <avahi-common/gccmacro.h>
25
26#include "dns_sd.h"
27#include "warn.h"
28
29DNSServiceErrorType DNSSD_API DNSServiceRegisterRecord (
30    AVAHI_GCC_UNUSED DNSServiceRef sdRef,
31    AVAHI_GCC_UNUSED DNSRecordRef *RecordRef,
32    AVAHI_GCC_UNUSED DNSServiceFlags flags,
33    AVAHI_GCC_UNUSED uint32_t interfaceIndex,
34    AVAHI_GCC_UNUSED const char *fullname,
35    AVAHI_GCC_UNUSED uint16_t rrtype,
36    AVAHI_GCC_UNUSED uint16_t rrclass,
37    AVAHI_GCC_UNUSED uint16_t rdlen,
38    AVAHI_GCC_UNUSED const void *rdata,
39    AVAHI_GCC_UNUSED uint32_t ttl,
40    AVAHI_GCC_UNUSED DNSServiceRegisterRecordReply callBack,
41    AVAHI_GCC_UNUSED void *context) {
42
43    AVAHI_WARN_UNSUPPORTED;
44
45    return kDNSServiceErr_Unsupported;
46}
47
48DNSServiceErrorType DNSSD_API DNSServiceReconfirmRecord (
49    AVAHI_GCC_UNUSED DNSServiceFlags flags,
50    AVAHI_GCC_UNUSED uint32_t interfaceIndex,
51    AVAHI_GCC_UNUSED const char *fullname,
52    AVAHI_GCC_UNUSED uint16_t rrtype,
53    AVAHI_GCC_UNUSED uint16_t rrclass,
54    AVAHI_GCC_UNUSED uint16_t rdlen,
55    AVAHI_GCC_UNUSED const void *rdata) {
56
57    AVAHI_WARN_UNSUPPORTED;
58
59    return kDNSServiceErr_Unsupported;
60}
61
62DNSServiceErrorType DNSSD_API DNSServiceCreateConnection(AVAHI_GCC_UNUSED DNSServiceRef *sdRef) {
63    AVAHI_WARN_UNSUPPORTED;
64
65    return kDNSServiceErr_Unsupported;
66}
67
68DNSServiceErrorType DNSSD_API DNSServiceAddRecord(
69    AVAHI_GCC_UNUSED DNSServiceRef sdRef,
70    AVAHI_GCC_UNUSED DNSRecordRef *RecordRef,
71    AVAHI_GCC_UNUSED DNSServiceFlags flags,
72    AVAHI_GCC_UNUSED uint16_t rrtype,
73    AVAHI_GCC_UNUSED uint16_t rdlen,
74    AVAHI_GCC_UNUSED const void *rdata,
75    AVAHI_GCC_UNUSED uint32_t ttl) {
76
77    AVAHI_WARN_UNSUPPORTED;
78
79    return kDNSServiceErr_Unsupported;
80}
81
82DNSServiceErrorType DNSSD_API DNSServiceRemoveRecord(
83    AVAHI_GCC_UNUSED DNSServiceRef sdRef,
84    AVAHI_GCC_UNUSED DNSRecordRef RecordRef,
85    AVAHI_GCC_UNUSED DNSServiceFlags flags) {
86
87    AVAHI_WARN_UNSUPPORTED;
88
89    return kDNSServiceErr_Unsupported;
90}
91