ldns_rr_mx_preference3
Get mx rr rdata fields
Usage
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_rdf* ldns_rr_mx_preference(const ldns_rr *r);
ldns_rdf* ldns_rr_mx_exchange(const ldns_rr *r);
Overview
ldns_rr_mx_preference() returns the mx pref. of a LDNS_RR_TYPE_MX rr .br r: the resource record .br Returns a ldns_rdf* with the preference or NULL on failure
ldns_rr_mx_exchange() returns the mx host of a LDNS_RR_TYPE_MX rr .br r: the resource record .br Returns a ldns_rdf* with the name of the MX host or NULL on failure
Remarks
This manpage was automatically generated from the ldns source code.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 5 times.