Mailing list header changes (fuck you Google)
[citadel.git] / citadel / domain.h
1 /*
2  * Copyright (c) 1987-2012 by the citadel.org team
3  *
4  * This program is open source software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 3.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  */
12
13 struct mx {
14         int pref;
15         char host[1024];
16 };
17
18 int getmx(char *mxbuf, char *dest);
19 int get_hosts(char *mxbuf, char *rectype);
20
21
22 /* HP/UX has old include files...these are from arpa/nameser.h */
23
24 #include "typesize.h"
25
26 #ifndef HFIXEDSZ
27 #define HFIXEDSZ        12              /* I hope! */
28 #endif
29 #ifndef INT16SZ
30 #define INT16SZ         sizeof(cit_int16_t)
31 #endif
32 #ifndef INT32SZ
33 #define INT32SZ         sizeof(cit_int32_t)
34 #endif