* domain.h: changed the HP/UX compatibility code to use defines from
[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 #include "typesize.h"
18
19 #ifndef HFIXEDSZ
20 #define HFIXEDSZ        12              /* I hope! */
21 #endif
22 #ifndef INT16SZ
23 #define INT16SZ         sizeof(cit_int16_t)
24 #endif
25 #ifndef INT32SZ
26 #define INT32SZ         sizeof(cit_int32_t)
27 #endif