5900cf7d13506627016448f655645bdb6c6f3efe
[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 getmx(char *mxbuf, char *dest);
12 int get_hosts(char *mxbuf, char *rectype);
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