Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
firedns_resolvemxlist(3)   Library Functions Manual   firedns_resolvemxlist(3)

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>

SEE ALSO
       libfiredns(3)

				  2004-02-12	      firedns_resolvemxlist(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=firedns_resolvemxlist&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help