1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_rdf2buffer_str_a, ldns_rdf2buffer_str_aaaa, ldns_rdf2buf‐
7 fer_str_str, ldns_rdf2buffer_str_b64, ldns_rdf2buffer_str_hex,
8 ldns_rdf2buffer_str_type, ldns_rdf2buffer_str_class, ldns_rdf2buf‐
9 fer_str_alg, ldns_rdf2buffer_str_loc, ldns_rdf2buffer_str_unknown,
10 ldns_rdf2buffer_str_nsap, ldns_rdf2buffer_str_wks, ldns_rdf2buf‐
11 fer_str_nsec, ldns_rdf2buffer_str_period, ldns_rdf2buffer_str_tsigtime,
12 ldns_rdf2buffer_str_apl, ldns_rdf2buffer_str_int16_data, ldns_rdf2buf‐
13 fer_str_int16, ldns_rdf2buffer_str_ipseckey
14
15
17 #include <stdint.h>
18 #include <stdbool.h>
19
20 #include <ldns/ldns.h>
21
22 ldns_status ldns_rdf2buffer_str_a(ldns_buffer *output, const ldns_rdf
23 *rdf);
24
25 ldns_status ldns_rdf2buffer_str_aaaa(ldns_buffer *output, const
26 ldns_rdf *rdf);
27
28 ldns_status ldns_rdf2buffer_str_str(ldns_buffer *output, const ldns_rdf
29 *rdf);
30
31 ldns_status ldns_rdf2buffer_str_b64(ldns_buffer *output, const ldns_rdf
32 *rdf);
33
34 ldns_status ldns_rdf2buffer_str_hex(ldns_buffer *output, const ldns_rdf
35 *rdf);
36
37 ldns_status ldns_rdf2buffer_str_type(ldns_buffer *output, const
38 ldns_rdf *rdf);
39
40 ldns_status ldns_rdf2buffer_str_class(ldns_buffer *output, const
41 ldns_rdf *rdf);
42
43 ldns_status ldns_rdf2buffer_str_alg(ldns_buffer *output, const ldns_rdf
44 *rdf);
45
46 ldns_status ldns_rdf2buffer_str_loc(ldns_buffer *output, const ldns_rdf
47 *rdf);
48
49 ldns_status ldns_rdf2buffer_str_unknown(ldns_buffer *output, const
50 ldns_rdf *rdf);
51
52 ldns_status ldns_rdf2buffer_str_nsap(ldns_buffer *output, const
53 ldns_rdf *rdf);
54
55 ldns_status ldns_rdf2buffer_str_wks(ldns_buffer *output, const ldns_rdf
56 *rdf);
57
58 ldns_status ldns_rdf2buffer_str_nsec(ldns_buffer *output, const
59 ldns_rdf *rdf);
60
61 ldns_status ldns_rdf2buffer_str_period(ldns_buffer *output, const
62 ldns_rdf *rdf);
63
64 ldns_status ldns_rdf2buffer_str_tsigtime(ldns_buffer *output, const
65 ldns_rdf *rdf);
66
67 ldns_status ldns_rdf2buffer_str_apl(ldns_buffer *output, const ldns_rdf
68 *rdf);
69
70 ldns_status ldns_rdf2buffer_str_int16_data(ldns_buffer *output, const
71 ldns_rdf *rdf);
72
73 ldns_status ldns_rdf2buffer_str_int16(ldns_buffer *output, const
74 ldns_rdf *rdf);
75
76 ldns_status ldns_rdf2buffer_str_ipseckey(ldns_buffer *output, const
77 ldns_rdf *rdf);
78
80 ldns_rdf2buffer_str_a() Converts an LDNS_RDF_TYPE_A rdata element to
81 string format and adds it to the output buffer
82 *rdf: The rdata to convert
83 *output: The buffer to add the data to
84 Returns LDNS_STATUS_OK on success, and error status on failure
85
86 ldns_rdf2buffer_str_aaaa() Converts an LDNS_RDF_TYPE_AAAA rdata element
87 to string format and adds it to the output buffer
88 *rdf: The rdata to convert
89 *output: The buffer to add the data to
90 Returns LDNS_STATUS_OK on success, and error status on failure
91
92 ldns_rdf2buffer_str_str() Converts an LDNS_RDF_TYPE_STR rdata element
93 to string format and adds it to the output buffer
94 *rdf: The rdata to convert
95 *output: The buffer to add the data to
96 Returns LDNS_STATUS_OK on success, and error status on failure
97
98 ldns_rdf2buffer_str_b64() Converts an LDNS_RDF_TYPE_B64 rdata element
99 to string format and adds it to the output buffer
100 *rdf: The rdata to convert
101 *output: The buffer to add the data to
102 Returns LDNS_STATUS_OK on success, and error status on failure
103
104 ldns_rdf2buffer_str_hex() Converts an LDNS_RDF_TYPE_HEX rdata element
105 to string format and adds it to the output buffer
106 *rdf: The rdata to convert
107 *output: The buffer to add the data to
108 Returns LDNS_STATUS_OK on success, and error status on failure
109
110 ldns_rdf2buffer_str_type() Converts an LDNS_RDF_TYPE_TYPE rdata element
111 to string format and adds it to the output buffer
112 *rdf: The rdata to convert
113 *output: The buffer to add the data to
114 Returns LDNS_STATUS_OK on success, and error status on failure
115
116 ldns_rdf2buffer_str_class() Converts an LDNS_RDF_TYPE_CLASS rdata ele‐
117 ment to string format and adds it to the output buffer
118 *rdf: The rdata to convert
119 *output: The buffer to add the data to
120 Returns LDNS_STATUS_OK on success, and error status on failure
121
122 ldns_rdf2buffer_str_alg() Converts an LDNS_RDF_TYPE_ALG rdata element
123 to string format and adds it to the output buffer
124 *rdf: The rdata to convert
125 *output: The buffer to add the data to
126 Returns LDNS_STATUS_OK on success, and error status on failure
127
128 ldns_rdf2buffer_str_loc() Converts an LDNS_RDF_TYPE_LOC rdata element
129 to string format and adds it to the output buffer
130 *rdf: The rdata to convert
131 *output: The buffer to add the data to
132 Returns LDNS_STATUS_OK on success, and error status on failure
133
134 ldns_rdf2buffer_str_unknown() Converts an LDNS_RDF_TYPE_UNKNOWN rdata
135 element to string format and adds it to the output buffer
136 *rdf: The rdata to convert
137 *output: The buffer to add the data to
138 Returns LDNS_STATUS_OK on success, and error status on failure
139
140 ldns_rdf2buffer_str_nsap() Converts an LDNS_RDF_TYPE_NSAP rdata element
141 to string format and adds it to the output buffer
142 *rdf: The rdata to convert
143 *output: The buffer to add the data to
144 Returns LDNS_STATUS_OK on success, and error status on failure
145
146 ldns_rdf2buffer_str_wks() Converts an LDNS_RDF_TYPE_WKS rdata element
147 to string format and adds it to the output buffer
148 *rdf: The rdata to convert
149 *output: The buffer to add the data to
150 Returns LDNS_STATUS_OK on success, and error status on failure
151
152 ldns_rdf2buffer_str_nsec() Converts an LDNS_RDF_TYPE_NSEC rdata element
153 to string format and adds it to the output buffer
154 *rdf: The rdata to convert
155 *output: The buffer to add the data to
156 Returns LDNS_STATUS_OK on success, and error status on failure
157
158 ldns_rdf2buffer_str_period() Converts an LDNS_RDF_TYPE_PERIOD rdata
159 element to string format and adds it to the output buffer
160 *rdf: The rdata to convert
161 *output: The buffer to add the data to
162 Returns LDNS_STATUS_OK on success, and error status on failure
163
164 ldns_rdf2buffer_str_tsigtime() Converts an LDNS_RDF_TYPE_TSIGTIME rdata
165 element to string format and adds it to the output buffer
166 *rdf: The rdata to convert
167 *output: The buffer to add the data to
168 Returns LDNS_STATUS_OK on success, and error status on failure
169
170 ldns_rdf2buffer_str_apl() Converts an LDNS_RDF_TYPE_APL rdata element
171 to string format and adds it to the output buffer
172 *rdf: The rdata to convert
173 *output: The buffer to add the data to
174 Returns LDNS_STATUS_OK on success, and error status on failure
175
176 ldns_rdf2buffer_str_int16_data() Converts an LDNS_RDF_TYPE_INT16_DATA
177 rdata element to string format and adds it to the output buffer
178 *rdf: The rdata to convert
179 *output: The buffer to add the data to
180 Returns LDNS_STATUS_OK on success, and error status on failure
181
182 ldns_rdf2buffer_str_int16() Converts an LDNS_RDF_TYPE_INT16 rdata ele‐
183 ment to string format and adds it to the output buffer
184 *rdf: The rdata to convert
185 *output: The buffer to add the data to
186 Returns LDNS_STATUS_OK on success, and error status on failure
187
188 ldns_rdf2buffer_str_ipseckey() Converts an LDNS_RDF_TYPE_IPSECKEY rdata
189 element to string format and adds it to the output buffer
190 *rdf: The rdata to convert
191 *output: The buffer to add the data to
192 Returns LDNS_STATUS_OK on success, and error status on failure
193
195 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
196 Miek Gieben.
197
198
200 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
201 http://www.nlnetlabs.nl/bugs/index.html
202
203
205 Copyright (c) 2004 - 2006 NLnet Labs.
206
207 Licensed under the BSD License. There is NO warranty; not even for MER‐
208 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
209
211 perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
212
214 This manpage was automaticly generated from the ldns source code by use
215 of Doxygen and some perl.
216
217
218
219 30 May 2006 ldns(3)