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
8
9

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

63       The ldns team at NLnet Labs. Which consists out  of  Jelte  Jansen  and
64       Miek Gieben.
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 automaticly generated from the ldns source code by use
85       of Doxygen and some perl.
86
87
88
89                                  30 May 2006                          ldns(3)
Impressum