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
26              Returns ldns_rdf*
27
28       ldns_dname_new_frm_str() creates a new dname rdf from a string.
29              str: string to use
30              Returns ldns_rdf* or NULL in case of an error
31
32       ldns_dname_new_frm_data() Create a new dname rdf from data (the data is
33              copied)
34              size: the size of the data
35              *data: pointer to the actual data
36
37              Returns ldns_rdf*
38

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

REMARKS

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