1ldns(3)                    Library Functions Manual                    ldns(3)
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_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 - lower level to string
14       conversion functions
15
16

SYNOPSIS

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

DESCRIPTION

81       ldns_rdf2buffer_str_a() Converts an LDNS_RDF_TYPE_A rdata element to
82              string format and adds it to the output buffer
83              *rdf: The rdata to convert
84              *output: The buffer to add the data to
85              Returns LDNS_STATUS_OK on success, and error status on failure
86
87       ldns_rdf2buffer_str_aaaa() Converts an LDNS_RDF_TYPE_AAAA rdata element
88              to 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_str() Converts an LDNS_RDF_TYPE_STR 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_b64() Converts an LDNS_RDF_TYPE_B64 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_hex() Converts an LDNS_RDF_TYPE_HEX 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_type() Converts an LDNS_RDF_TYPE_TYPE 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_class() Converts an LDNS_RDF_TYPE_CLASS rdata ele‐
118              ment 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_alg() Converts an LDNS_RDF_TYPE_ALG rdata element
124              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_loc() Converts an LDNS_RDF_TYPE_LOC 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_unknown() Converts an LDNS_RDF_TYPE_UNKNOWN rdata
136              element to string format and adds it to the output buffer
137              *rdf: The rdata to convert
138              *output: The buffer to add the data to
139              Returns LDNS_STATUS_OK on success, and error status on failure
140
141       ldns_rdf2buffer_str_nsap() Converts an LDNS_RDF_TYPE_NSAP rdata element
142              to string format and adds it to the output buffer
143              *rdf: The rdata to convert
144              *output: The buffer to add the data to
145              Returns LDNS_STATUS_OK on success, and error status on failure
146
147       ldns_rdf2buffer_str_wks() Converts an LDNS_RDF_TYPE_WKS rdata element
148              to string format and adds it to the output buffer
149              *rdf: The rdata to convert
150              *output: The buffer to add the data to
151              Returns LDNS_STATUS_OK on success, and error status on failure
152
153       ldns_rdf2buffer_str_nsec() Converts an LDNS_RDF_TYPE_NSEC rdata element
154              to string format and adds it to the output buffer
155              *rdf: The rdata to convert
156              *output: The buffer to add the data to
157              Returns LDNS_STATUS_OK on success, and error status on failure
158
159       ldns_rdf2buffer_str_period() Converts an LDNS_RDF_TYPE_PERIOD rdata
160              element to string format and adds it to the output buffer
161              *rdf: The rdata to convert
162              *output: The buffer to add the data to
163              Returns LDNS_STATUS_OK on success, and error status on failure
164
165       ldns_rdf2buffer_str_tsigtime() Converts an LDNS_RDF_TYPE_TSIGTIME rdata
166              element to string format and adds it to the output buffer
167              *rdf: The rdata to convert
168              *output: The buffer to add the data to
169              Returns LDNS_STATUS_OK on success, and error status on failure
170
171       ldns_rdf2buffer_str_apl() Converts an LDNS_RDF_TYPE_APL rdata element
172              to string format and adds it to the output buffer
173              *rdf: The rdata to convert
174              *output: The buffer to add the data to
175              Returns LDNS_STATUS_OK on success, and error status on failure
176
177       ldns_rdf2buffer_str_int16_data() Converts an LDNS_RDF_TYPE_INT16_DATA
178              rdata element to string format and adds it to the output buffer
179              *rdf: The rdata to convert
180              *output: The buffer to add the data to
181              Returns LDNS_STATUS_OK on success, and error status on failure
182
183       ldns_rdf2buffer_str_int16() Converts an LDNS_RDF_TYPE_INT16 rdata ele‐
184              ment to string format and adds it to the output buffer
185              *rdf: The rdata to convert
186              *output: The buffer to add the data to
187              Returns LDNS_STATUS_OK on success, and error status on failure
188
189       ldns_rdf2buffer_str_ipseckey() Converts an LDNS_RDF_TYPE_IPSECKEY rdata
190              element to string format and adds it to the output buffer
191              *rdf: The rdata to convert
192              *output: The buffer to add the data to
193              Returns LDNS_STATUS_OK on success, and error status on failure
194

AUTHOR

196       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
197       Miek Gieben.
198
199

REPORTING BUGS

201       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
202       http://www.nlnetlabs.nl/bugs/index.html
203
204
206       Copyright (c) 2004 - 2006 NLnet Labs.
207
208       Licensed under the BSD License. There is NO warranty; not even for MER‐
209       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
210

SEE ALSO

212       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
213

REMARKS

215       This manpage was automatically generated from the ldns source code by
216       use of Doxygen and some perl.
217
218
219
220                                  30 May 2006                          ldns(3)
Impressum