Can you tell I'm REALLY avoiding another task right now?
[citadel.git] / citadel / server / domain.h
1 // Copyright (c) 1987-2024 by the citadel.org team
2 //
3 // This program is open source software.  Use, duplication, or disclosure
4 // is subject to the terms of the GNU General Public License version 3.
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