aboutsummaryrefslogtreecommitdiffstats
path: root/mx.h
blob: 3bb1e34a52473519f74929efb1fd0a5105431e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* mx.h -- name-to-preference association for MX records.
 * For license terms, see the file COPYING in this directory.
 */

#include "config.h"

#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif

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

extern struct mxentry * getmxrecords(const char *);

#if !HAVE_DECL_H_ERRNO
extern int h_errno;
#endif

/* mx.h ends here */