1
/* mx.h -- name-to-preference association for MX records.
2
 * For license terms, see the file COPYING in this directory.
3
 */
4
5
#include "config.h"
6
7
#ifdef HAVE_NETDB_H
8
#include <netdb.h>
9
#endif
10
11
struct mxentry
12
{
13
    char	*name;
14
    int		pref;
15
};
16
17
extern struct mxentry * getmxrecords(const char *);
18
19
#if !HAVE_DECL_H_ERRNO
20
extern int h_errno;
21
#endif
22
23
/* mx.h ends here */