1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_rr_mx_preference, ldns_rr_mx_exchange
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_rdf* ldns_rr_mx_preference(ldns_rr *r);
21
22 ldns_rdf* ldns_rr_mx_exchange(ldns_rr *r);
23
25 ldns_rr_mx_preference() returns the mx pref. of a LDNS_RR_TYPE_MX rr
26 r: the resource record
27 Returns a ldns_rdf* with the preference or NULL on failure
28
29 ldns_rr_mx_exchange() returns the mx host of a LDNS_RR_TYPE_MX rr
30 r: the resource record
31 Returns a ldns_rdf* with the name of the MX host or NULL on
32 failure
33
35 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
36 Rozendaal and Miek Gieben.
37
38
40 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
41 http://www.nlnetlabs.nl/bugs/index.html
42
43 Be sure to select ldns as the product.
44
45
47 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
48 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
49 PARTICULAR PURPOSE.
50
52 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
53
55 This manpage was automaticly generated from the ldns source code by use
56 of Doxygen and some perl.
57
58
59
60 ldns(25 Apr 2005)