* Merged in IO ERROR's diffs to make Citadel work with HP/UX
[citadel.git] / citadel / domain.h
1 /*
2  * $Id$
3  *
4  */
5
6 struct mx {
7         int pref;
8         char host[1024];
9 };
10
11 int get_smarthosts(char *mxbuf);
12 int getmx(char *mxbuf, char *dest);
13
14
15 /* HP/UX has old include files...these are from arpa/nameser.h */
16
17 #ifndef HFIXEDSZ
18 #define HFIXEDSZ        12              /* I hope! */
19 #endif
20 #ifndef INT16SZ
21 #define INT16SZ         sizeof(int16)
22 #endif
23 #ifndef INT32SZ
24 #define INT32SZ         sizeof(int32)
25 #endif