]> git.meshlink.io Git - catta/blob - avahi-compat-howl/text.c
implement address related functions
[catta] / avahi-compat-howl / text.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 <howl.h>
27
28 #include "warn.h"
29
30 sw_result sw_text_record_init(
31     sw_text_record * self) {
32     AVAHI_WARN_UNSUPPORTED;
33     return SW_DISCOVERY_E_NOT_SUPPORTED;
34 }
35
36 sw_result sw_text_record_fina(
37     sw_text_record self) {
38     AVAHI_WARN_UNSUPPORTED;
39     return SW_DISCOVERY_E_NOT_SUPPORTED;
40 }
41
42 sw_result sw_text_record_add_string(
43     sw_text_record self,
44     sw_const_string string) {
45     AVAHI_WARN_UNSUPPORTED;
46     return SW_DISCOVERY_E_NOT_SUPPORTED;
47 }
48
49 sw_result sw_text_record_add_key_and_string_value(
50     sw_text_record self,
51     sw_const_string key,
52     sw_const_string val) {
53     AVAHI_WARN_UNSUPPORTED;
54     return SW_DISCOVERY_E_NOT_SUPPORTED;
55 }
56
57 sw_result sw_text_record_add_key_and_binary_value(
58     sw_text_record self,
59     sw_const_string key,
60     sw_octets val,
61     sw_uint32 len) {
62     AVAHI_WARN_UNSUPPORTED;
63     return SW_DISCOVERY_E_NOT_SUPPORTED;
64 }
65
66 sw_octets sw_text_record_bytes(sw_text_record self) {
67     AVAHI_WARN_UNSUPPORTED;
68     return NULL;
69 }
70
71 sw_uint32 sw_text_record_len(sw_text_record self) {
72     AVAHI_WARN_UNSUPPORTED;
73     return 0;
74 }
75
76 sw_result sw_text_record_iterator_init(
77     sw_text_record_iterator * self,
78     sw_octets text_record,
79     sw_uint32 text_record_len) {
80     AVAHI_WARN_UNSUPPORTED;
81     return SW_DISCOVERY_E_NOT_SUPPORTED;
82 }
83
84 sw_result sw_text_record_iterator_fina(
85     sw_text_record_iterator self) {
86     AVAHI_WARN_UNSUPPORTED;
87     return SW_DISCOVERY_E_NOT_SUPPORTED;
88 }
89
90 sw_result sw_text_record_iterator_next(
91     sw_text_record_iterator self,
92     char key[255],
93     sw_uint8 val[255],
94     sw_uint32 * val_len) {
95     AVAHI_WARN_UNSUPPORTED;
96     return SW_DISCOVERY_E_NOT_SUPPORTED;
97 }
98
99 sw_result sw_text_record_string_iterator_init(
100     sw_text_record_string_iterator * self,
101     sw_const_string text_record_string) {
102     AVAHI_WARN_UNSUPPORTED;
103     return SW_DISCOVERY_E_NOT_SUPPORTED;
104 }
105
106 sw_result sw_text_record_string_iterator_fina(
107     sw_text_record_string_iterator self) {
108     AVAHI_WARN_UNSUPPORTED;
109     return SW_DISCOVERY_E_NOT_SUPPORTED;
110 }    
111
112 sw_result sw_text_record_string_iterator_next(
113     sw_text_record_string_iterator self,
114     char key[255],
115     char val[255]) {
116     AVAHI_WARN_UNSUPPORTED;
117     return SW_DISCOVERY_E_NOT_SUPPORTED;
118 }