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 - functions for
9       ldns_dnssec_rrsets
10
11

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

71       The ldns team at NLnet Labs.
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 automatically generated from the ldns source code.
92
93
94
95                                  30 May 2006                          ldns(3)
Impressum