1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
/* $Id$ */
/***
This file is part of avahi.
avahi is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.
avahi is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with avahi; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
***/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <howl.h>
#include "warn.h"
sw_result sw_text_record_init(
sw_text_record * self) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_fina(
sw_text_record self) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_add_string(
sw_text_record self,
sw_const_string string) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_add_key_and_string_value(
sw_text_record self,
sw_const_string key,
sw_const_string val) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_add_key_and_binary_value(
sw_text_record self,
sw_const_string key,
sw_octets val,
sw_uint32 len) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_octets sw_text_record_bytes(sw_text_record self) {
AVAHI_WARN_UNSUPPORTED;
return NULL;
}
sw_uint32 sw_text_record_len(sw_text_record self) {
AVAHI_WARN_UNSUPPORTED;
return 0;
}
sw_result sw_text_record_iterator_init(
sw_text_record_iterator * self,
sw_octets text_record,
sw_uint32 text_record_len) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_iterator_fina(
sw_text_record_iterator self) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_iterator_next(
sw_text_record_iterator self,
char key[255],
sw_uint8 val[255],
sw_uint32 * val_len) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_string_iterator_init(
sw_text_record_string_iterator * self,
sw_const_string text_record_string) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_string_iterator_fina(
sw_text_record_string_iterator self) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
sw_result sw_text_record_string_iterator_next(
sw_text_record_string_iterator self,
char key[255],
char val[255]) {
AVAHI_WARN_UNSUPPORTED;
return SW_DISCOVERY_E_NOT_SUPPORTED;
}
|