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.
65
66

REPORTING BUGS

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

SEE ALSO

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

REMARKS

84       This manpage was automatically generated from the ldns source code.
85
86
87
88                                  30 May 2006                          ldns(3)
Impressum