1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
2
3
4

NAME

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_cert,     ldns_rdf2buffer_str_loc,
10       ldns_rdf2buffer_str_unknown,   ldns_rdf2buffer_str_nsap,  ldns_rdf2buf‐
11       fer_str_wks,   ldns_rdf2buffer_str_nsec,    ldns_rdf2buffer_str_period,
12       ldns_rdf2buffer_str_tsigtime,   ldns_rdf2buffer_str_apl,  ldns_rdf2buf‐
13       fer_str_int16_data,      ldns_rdf2buffer_str_int16,       ldns_rdf2buf‐
14       fer_str_ipseckey
15
16

SYNOPSIS

18       #ifdef HAVE_STDINT_H
19       #include <stdint.h>
20       #endif /* HAVE_STDINT_H */
21
22       #ifdef HAVE_STDBOOL_H
23       #include <stdbool.h>
24       #endif /* HAVE_STDBOOL_H */
25
26       #include <ldns/ldns.h>
27
28       ldns_status ldns_rdf2buffer_str_a(ldns_buffer *output, ldns_rdf *rdf);
29
30       ldns_status   ldns_rdf2buffer_str_aaaa(ldns_buffer   *output,  ldns_rdf
31       *rdf);
32
33       ldns_status   ldns_rdf2buffer_str_str(ldns_buffer   *output,   ldns_rdf
34       *rdf);
35
36       ldns_status   ldns_rdf2buffer_str_b64(ldns_buffer   *output,   ldns_rdf
37       *rdf);
38
39       ldns_status   ldns_rdf2buffer_str_hex(ldns_buffer   *output,   ldns_rdf
40       *rdf);
41
42       ldns_status   ldns_rdf2buffer_str_type(ldns_buffer   *output,  ldns_rdf
43       *rdf);
44
45       ldns_status  ldns_rdf2buffer_str_class(ldns_buffer  *output,   ldns_rdf
46       *rdf);
47
48       ldns_status   ldns_rdf2buffer_str_alg(ldns_buffer   *output,   ldns_rdf
49       *rdf);
50
51        ldns_rdf2buffer_str_cert();
52
53       ldns_status   ldns_rdf2buffer_str_loc(ldns_buffer   *output,   ldns_rdf
54       *rdf);
55
56       ldns_status  ldns_rdf2buffer_str_unknown(ldns_buffer  *output, ldns_rdf
57       *rdf);
58
59       ldns_status  ldns_rdf2buffer_str_nsap(ldns_buffer   *output,   ldns_rdf
60       *rdf);
61
62       ldns_status   ldns_rdf2buffer_str_wks(ldns_buffer   *output,   ldns_rdf
63       *rdf);
64
65       ldns_status  ldns_rdf2buffer_str_nsec(ldns_buffer   *output,   ldns_rdf
66       *rdf);
67
68       ldns_status  ldns_rdf2buffer_str_period(ldns_buffer  *output,  ldns_rdf
69       *rdf);
70
71       ldns_status ldns_rdf2buffer_str_tsigtime(ldns_buffer *output,  ldns_rdf
72       *rdf);
73
74       ldns_status   ldns_rdf2buffer_str_apl(ldns_buffer   *output,   ldns_rdf
75       *rdf);
76
77       ldns_status     ldns_rdf2buffer_str_int16_data(ldns_buffer     *output,
78       ldns_rdf *rdf);
79
80       ldns_status   ldns_rdf2buffer_str_int16(ldns_buffer  *output,  ldns_rdf
81       *rdf);
82
83       ldns_status ldns_rdf2buffer_str_ipseckey(ldns_buffer *output,  ldns_rdf
84       *rdf);
85

DESCRIPTION

87       ldns_rdf2buffer_str_a()  Converts  an  LDNS_RDF_TYPE_A rdata element to
88              string format and adds it to the output buffer
89              *rdf: The rdata to convert
90              *output: The buffer to add the data to
91              Returns LDNS_STATUS_OK on success, and error status on failure
92
93       ldns_rdf2buffer_str_aaaa() Converts an LDNS_RDF_TYPE_AAAA rdata element
94              to string format and adds it to the output buffer
95              *rdf: The rdata to convert
96              *output: The buffer to add the data to
97              Returns LDNS_STATUS_OK on success, and error status on failure
98
99       ldns_rdf2buffer_str_str()  Converts  an LDNS_RDF_TYPE_STR rdata element
100              to string format and adds it to the output buffer
101              *rdf: The rdata to convert
102              *output: The buffer to add the data to
103              Returns LDNS_STATUS_OK on success, and error status on failure
104
105       ldns_rdf2buffer_str_b64() Converts an LDNS_RDF_TYPE_B64  rdata  element
106              to string format and adds it to the output buffer
107              *rdf: The rdata to convert
108              *output: The buffer to add the data to
109              Returns LDNS_STATUS_OK on success, and error status on failure
110
111       ldns_rdf2buffer_str_hex()  Converts  an LDNS_RDF_TYPE_HEX rdata element
112              to string format and adds it to the output buffer
113              *rdf: The rdata to convert
114              *output: The buffer to add the data to
115              Returns LDNS_STATUS_OK on success, and error status on failure
116
117       ldns_rdf2buffer_str_type() Converts an LDNS_RDF_TYPE_TYPE rdata element
118              to string format and adds it to the output buffer
119              *rdf: The rdata to convert
120              *output: The buffer to add the data to
121              Returns LDNS_STATUS_OK on success, and error status on failure
122
123       ldns_rdf2buffer_str_class()  Converts an LDNS_RDF_TYPE_CLASS rdata ele‐
124              ment to string format and adds it to the output buffer
125              *rdf: The rdata to convert
126              *output: The buffer to add the data to
127              Returns LDNS_STATUS_OK on success, and error status on failure
128
129       ldns_rdf2buffer_str_alg() Converts an LDNS_RDF_TYPE_ALG  rdata  element
130              to string format and adds it to the output buffer
131              *rdf: The rdata to convert
132              *output: The buffer to add the data to
133              Returns LDNS_STATUS_OK on success, and error status on failure
134
135       ldns_rdf2buffer_str_cert()
136
137       ldns_rdf2buffer_str_loc()  Converts  an LDNS_RDF_TYPE_LOC rdata element
138              to string format and adds it to the output buffer
139              *rdf: The rdata to convert
140              *output: The buffer to add the data to
141              Returns LDNS_STATUS_OK on success, and error status on failure
142
143       ldns_rdf2buffer_str_unknown() Converts an  LDNS_RDF_TYPE_UNKNOWN  rdata
144              element to string format and adds it to the output buffer
145              *rdf: The rdata to convert
146              *output: The buffer to add the data to
147              Returns LDNS_STATUS_OK on success, and error status on failure
148
149       ldns_rdf2buffer_str_nsap() Converts an LDNS_RDF_TYPE_NSAP rdata element
150              to string format and adds it to the output buffer
151              *rdf: The rdata to convert
152              *output: The buffer to add the data to
153              Returns LDNS_STATUS_OK on success, and error status on failure
154
155       ldns_rdf2buffer_str_wks() Converts an LDNS_RDF_TYPE_WKS  rdata  element
156              to string format and adds it to the output buffer
157              *rdf: The rdata to convert
158              *output: The buffer to add the data to
159              Returns LDNS_STATUS_OK on success, and error status on failure
160
161       ldns_rdf2buffer_str_nsec() Converts an LDNS_RDF_TYPE_NSEC rdata element
162              to string format and adds it to the output buffer
163              *rdf: The rdata to convert
164              *output: The buffer to add the data to
165              Returns LDNS_STATUS_OK on success, and error status on failure
166
167       ldns_rdf2buffer_str_period()  Converts  an  LDNS_RDF_TYPE_PERIOD  rdata
168              element to string format and adds it to the output buffer
169              *rdf: The rdata to convert
170              *output: The buffer to add the data to
171              Returns LDNS_STATUS_OK on success, and error status on failure
172
173       ldns_rdf2buffer_str_tsigtime() Converts an LDNS_RDF_TYPE_TSIGTIME rdata
174              element to string format and adds it to the output buffer
175              *rdf: The rdata to convert
176              *output: The buffer to add the data to
177              Returns LDNS_STATUS_OK on success, and error status on failure
178
179       ldns_rdf2buffer_str_apl() Converts an LDNS_RDF_TYPE_APL  rdata  element
180              to string format and adds it to the output buffer
181              *rdf: The rdata to convert
182              *output: The buffer to add the data to
183              Returns LDNS_STATUS_OK on success, and error status on failure
184
185       ldns_rdf2buffer_str_int16_data()  Converts  an LDNS_RDF_TYPE_INT16_DATA
186              rdata element to string format and adds it to the output buffer
187              *rdf: The rdata to convert
188              *output: The buffer to add the data to
189              Returns LDNS_STATUS_OK on success, and error status on failure
190
191       ldns_rdf2buffer_str_int16() Converts the data in the int16 typed  rdata
192              field  to  presentation format (as char *) and appends it to the
193              given buffer
194
195              output: pointer to the buffer to append the data to
196              rdf: the pointer to the rdafa field containing the data
197              Returns status
198
199       ldns_rdf2buffer_str_ipseckey() Converts an LDNS_RDF_TYPE_IPSECKEY rdata
200              element to string format and adds it to the output buffer
201              *rdf: The rdata to convert
202              *output: The buffer to add the data to
203              Returns LDNS_STATUS_OK on success, and error status on failure
204

AUTHOR

206       The  ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
207       Rozendaal and Miek Gieben.
208
209

REPORTING BUGS

211       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  Bugzilla  at
212       http://www.nlnetlabs.nl/bugs/index.html
213
214       Be sure to select ldns as the product.
215
216
218       Copyright  (c)  2004, 2005 NLnet Labs.  Licensed under the BSD License.
219       There is NO warranty; not even for MERCHANTABILITY  or  FITNESS  FOR  A
220       PARTICULAR PURPOSE.
221

SEE ALSO

223       perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
224

REMARKS

226       This manpage was automaticly generated from the ldns source code by use
227       of Doxygen and some perl.
228
229
230
231                                                             ldns(25 Apr 2005)
Impressum