Back to index

citadel  8.12
domain.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1987-2012 by the citadel.org team
00003  *
00004  * This program is open source software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3.
00006  *
00007  * This program is distributed in the hope that it will be useful,
00008  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00009  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010  * GNU General Public License for more details.
00011  */
00012 
00013 struct mx {
00014        int pref;
00015        char host[1024];
00016 };
00017 
00018 int getmx(char *mxbuf, char *dest);
00019 int get_hosts(char *mxbuf, char *rectype);
00020 
00021 
00022 /* HP/UX has old include files...these are from arpa/nameser.h */
00023 
00024 #include "typesize.h"
00025 
00026 #ifndef HFIXEDSZ
00027 #define HFIXEDSZ     12            /* I hope! */
00028 #endif
00029 #ifndef INT16SZ
00030 #define       INT16SZ              sizeof(cit_int16_t)
00031 #endif
00032 #ifndef INT32SZ
00033 #define INT32SZ             sizeof(cit_int32_t)
00034 #endif