mx.h   [plain text]


/* mx.h -- name-to-preference association for MX records */

struct mxentry
{
    char	*name;
    int		pref;
};

extern struct mxentry * getmxrecords(const char *);

/* some versions of FreeBSD should declare this but don't */
extern int h_errno;

/* mx.h ends here */