man firedns_resolvemxlist (Fonctions bibliothèques) - Resolve a list of MX records of a hostname
NAME
firedns_resolvemxlist - Resolve a list of MX records of a hostname
SYNOPSIS
#include <firedns.h>
-lfiredns
struct firedns_mxlist *firedns_resolvemxlist(const char * const name)
struct firedns_mxlist *firedns_resolvemxlist_r(const char * const name)
DESCRIPTION
firedns_resolvemxlist() attempts to resolve a list of MX records for the hostname name.
RETURN VALUE
Returns a pointer to an internal static struct firedns_mxlist *. This structure is the first of a linked list. It contains:
char *name;
unsigned int protocol;
(FIREDNS_MX_SMTP or FIREDNS_MX_QMTP)
unsigned int priority;
struct firedns_mxlist *next;
This function returns NULL on error.
AUTHOR
Ian Gulliver <ian@penguinhosting.net>