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

NAME

6       ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type,
7       ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf - set ldns_rr
8       attributes
9
10

SYNOPSIS

12       #include <stdint.h>
13       #include <stdbool.h>
14
15       #include <ldns/ldns.h>
16
17       void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner);
18
19       void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl);
20
21       void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type);
22
23       void ldns_rr_set_rd_count(ldns_rr *rr, size_t count);
24
25       void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class);
26
27       ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t posi‐
28       tion);
29

DESCRIPTION

31       ldns_rr_set_owner() sets the owner in the rr structure.
32              *rr: rr to operate on
33              *owner: set to this owner
34              Returns void
35
36       ldns_rr_set_ttl() sets the ttl in the rr structure.
37              *rr: rr to operate on
38              ttl: set to this ttl
39              Returns void
40
41       ldns_rr_set_type() sets the type in the rr.
42              *rr: rr to operate on
43              rr_type: set to this type
44              Returns void
45
46       ldns_rr_set_rd_count() sets the rd_count in the rr.
47              *rr: rr to operate on
48              count: set to this count
49              Returns void
50
51       ldns_rr_set_class() sets the class in the rr.
52              *rr: rr to operate on
53              rr_class: set to this class
54              Returns void
55
56       ldns_rr_set_rdf() sets a rdf member, it will be set on the position
57              given. The old value is returned, like pop.
58              *rr: the rr to operate on
59              *f: the rdf to set
60              position: the position the set the rdf
61              Returns the old value in the rr, NULL on failyre
62

AUTHOR

64       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
65       Miek Gieben.
66
67

REPORTING BUGS

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

SEE ALSO

81       ldns_rr, ldns_rr_list.  And perldoc Net::DNS, RFC1034, RFC1035,
82       RFC4033, RFC4034  and RFC4035.
83

REMARKS

85       This manpage was automatically generated from the ldns source code by
86       use of Doxygen and some perl.
87
88
89
90                                  30 May 2006                          ldns(3)
Impressum