firedns_resolvemx3
Resolve an mx record of a hostname
Usage
#include <firedns.h>
-lfiredns
char *firedns_resolvemx(const char * const name)
char *firedns_resolvemx_r(const char * const name)
Overview
firedns_resolvemx() attempts to resolve an MX record for the hostname name.
Return value
Returns a pointer to an internal static char * that contains a MX record of name, or NULL on error.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).