firedns_resolvemx(3)

NAME
firedns_resolvemx - Resolve an MX record of a hostname

SYNOPSIS
#include <firedns.h>
-lfiredns

char *firedns_resolvemx(const char * const name)
char *firedns_resolvemx_r(const char * const name)

DESCRIPTION
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.

AUTHOR
Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
libfiredns(3)