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

NAME

6       ldns_dnssec_rrsets_new,                        ldns_dnssec_rrsets_free,
7       ldns_dnssec_rrsets_type,                   ldns_dnssec_rrsets_set_type,
8       ldns_dnssec_rrsets_add_rr, ldns_dnssec_rrsets_print
9
10

SYNOPSIS

12       #include <stdint.h>
13       #include <stdbool.h>
14
15       #include <ldns/ldns.h>
16
17       ldns_dnssec_rrsets* ldns_dnssec_rrsets_new();
18
19       void ldns_dnssec_rrsets_free(ldns_dnssec_rrsets *rrsets);
20
21       ldns_rr_type ldns_dnssec_rrsets_type(ldns_dnssec_rrsets *rrsets);
22
23       ldns_status   ldns_dnssec_rrsets_set_type(ldns_dnssec_rrsets   *rrsets,
24       ldns_rr_type type);
25
26       ldns_status    ldns_dnssec_rrsets_add_rr(ldns_dnssec_rrsets    *rrsets,
27       ldns_rr *rr);
28
29       void  ldns_dnssec_rrsets_print(FILE  *out,  ldns_dnssec_rrsets *rrsets,
30       bool follow);
31

DESCRIPTION

33       ldns_dnssec_rrsets_new() Creates a new list (entry) of RRsets
34              Returns the newly allocated structure
35
36       ldns_dnssec_rrsets_free() Frees the list of rrsets and their  rrs,  but
37              *not* the ldns_rr records in the sets
38
39              rrsets: the data structure to free
40
41       ldns_dnssec_rrsets_type()  Returns  the  rr  type of the rrset (that is
42              head of the given list)
43
44              rrsets: the rrset to get the type of
45              Returns the rr type
46
47       ldns_dnssec_rrsets_set_type() Sets the RR type of the  rrset  (that  is
48              head of the given list)
49
50              rrsets: the rrset to set the type of
51              type: the type to set
52              Returns LDNS_STATUS_OK on success
53
54       ldns_dnssec_rrsets_add_rr()  Add  an ldns_rr to the corresponding RRset
55              in the given list of RRsets.  If it is not present, add it as  a
56              new RRset with 1 record.
57
58              rrsets: the list of rrsets to add the RR to
59              rr: the rr to add to the list of rrsets
60              Returns LDNS_STATUS_OK on success
61
62       ldns_dnssec_rrsets_print()  Print the given list of rrsets to the fiven
63              file descriptor
64
65              out: the file descriptor to print to
66              rrsets: the list of RRsets to print
67              follow: if set to false, only print the first RRset
68

AUTHOR

70       The ldns team at NLnet Labs. Which consists out  of  Jelte  Jansen  and
71       Miek Gieben.
72
73

REPORTING BUGS

75       Please  report  bugs  to  ldns-team@nlnetlabs.nl  or in our bugzilla at
76       http://www.nlnetlabs.nl/bugs/index.html
77
78
80       Copyright (c) 2004 - 2006 NLnet Labs.
81
82       Licensed under the BSD License. There is NO warranty; not even for MER‐
83       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
84
85

SEE ALSO

87       ldns_dnssec_zone.   And  perldoc  Net::DNS,  RFC1034, RFC1035, RFC4033,
88       RFC4034  and RFC4035.
89

REMARKS

91       This manpage was automaticly generated from the ldns source code by use
92       of Doxygen and some perl.
93
94
95
96                                  30 May 2006                          ldns(3)
Impressum