1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_dname_new, ldns_dname_new_frm_str, ldns_dname_new_frm_data
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ldns_rdf* ldns_dname_new(uint16_t s, void *data);
16
17       ldns_rdf* ldns_dname_new_frm_str(const char *str);
18
19       ldns_rdf* ldns_dname_new_frm_data(uint16_t size, const void *data);
20

DESCRIPTION

22       ldns_dname_new() Create a new dname rdf from a string
23              s: the size of the new dname
24              *data: pointer to the actual data
25              Returns ldns_rdf*
26
27       ldns_dname_new_frm_str() creates a new dname rdf from a string.
28              str: string to use
29              Returns ldns_rdf* or NULL in case of an error
30
31       ldns_dname_new_frm_data() Create a new dname rdf from data (the data is
32              copied)
33              size: the size of the data
34              *data: pointer to the actual data
35              Returns ldns_rdf*
36

AUTHOR

38       The ldns team at NLnet Labs. Which consists out  of  Jelte  Jansen  and
39       Miek Gieben.
40
41

REPORTING BUGS

43       Please  report  bugs  to  ldns-team@nlnetlabs.nl  or in our bugzilla at
44       http://www.nlnetlabs.nl/bugs/index.html
45
46
48       Copyright (c) 2004 - 2006 NLnet Labs.
49
50       Licensed under the BSD License. There is NO warranty; not even for MER‐
51       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
52
53

SEE ALSO

55       ldns_dname,      ldns_pkt_query_new_frm_str,      ldns_rdf_new_frm_str,
56       ldns_rr_new_frm_str.  And perldoc Net::DNS, RFC1034, RFC1035,  RFC4033,
57       RFC4034  and RFC4035.
58

REMARKS

60       This manpage was automaticly generated from the ldns source code by use
61       of Doxygen and some perl.
62
63
64
65                                  30 May 2006                          ldns(3)
Impressum