]> Pileus Git - ~andy/fetchmail/blob - mx.h
511eba785755303354720afaea04b55f25d0f8d0
[~andy/fetchmail] / mx.h
1 /* mx.h -- name-to-preference association for MX records.
2  * For license terms, see the file COPYING in this directory.
3  */
4
5 struct mxentry
6 {
7     unsigned char       *name;
8     int                 pref;
9 };
10
11 extern struct mxentry * getmxrecords(const char *);
12
13 /* some versions of FreeBSD should declare this but don't */
14 /* But only declare it if it isn't already */
15 #ifndef h_errno
16 extern int h_errno;
17 #endif /* ndef h_errno */
18
19 /* mx.h ends here */