1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
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       #ifdef HAVE_STDINT_H
12       #include <stdint.h>
13       #endif /* HAVE_STDINT_H */
14
15       #ifdef HAVE_STDBOOL_H
16       #include <stdbool.h>
17       #endif /* HAVE_STDBOOL_H */
18
19       #include <ldns/ldns.h>
20
21       void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner);
22
23       void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl);
24
25       void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type);
26
27       void ldns_rr_set_rd_count(ldns_rr *rr, size_t count);
28
29       void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class);
30
31       ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, ldns_rdf *f, size_t position);
32

DESCRIPTION

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

AUTHOR

67       The  ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
68       Rozendaal and Miek Gieben.
69
70

REPORTING BUGS

72       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  Bugzilla  at
73       http://www.nlnetlabs.nl/bugs/index.html
74
75       Be sure to select ldns as the product.
76
77
79       Copyright  (c)  2004, 2005 NLnet Labs.  Licensed under the BSD License.
80       There is NO warranty; not even for MERCHANTABILITY  or  FITNESS  FOR  A
81       PARTICULAR PURPOSE.
82
83

SEE ALSO

85       ldns_rr,   ldns_rr_list.    And  perldoc  Net::DNS,  RFC1043,  RFC1035,
86       RFC4033, RFC4034  and RFC4035.
87

REMARKS

89       This manpage was automaticly generated from the ldns source code by use
90       of Doxygen and some perl.
91
92
93
94                                                             ldns(25 Apr 2005)
Impressum