X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdomain.h;h=646c23df1cac460f1b5b7c550ba57b21720f73e9;hb=4eb74b26380dfde31c86c685f0589e0c653aebf0;hp=0d9ac9f66074cbe8593708421795eb0057881390;hpb=83875cf99a93ec708989894477f3880cf4579630;p=citadel.git diff --git a/citadel/domain.h b/citadel/domain.h index 0d9ac9f66..646c23df1 100644 --- a/citadel/domain.h +++ b/citadel/domain.h @@ -1,6 +1,22 @@ /* * $Id$ * + * + * Copyright (c) 1987-2009 by the citadel.org team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ struct mx { @@ -8,5 +24,20 @@ struct mx { char host[1024]; }; -int get_smarthosts(char *mxbuf); int getmx(char *mxbuf, char *dest); +int get_hosts(char *mxbuf, char *rectype); + + +/* HP/UX has old include files...these are from arpa/nameser.h */ + +#include "typesize.h" + +#ifndef HFIXEDSZ +#define HFIXEDSZ 12 /* I hope! */ +#endif +#ifndef INT16SZ +#define INT16SZ sizeof(cit_int16_t) +#endif +#ifndef INT32SZ +#define INT32SZ sizeof(cit_int32_t) +#endif