X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdomain.h;h=646c23df1cac460f1b5b7c550ba57b21720f73e9;hb=4eb74b26380dfde31c86c685f0589e0c653aebf0;hp=b209417251af671591ca1d97d16e2dfd77397500;hpb=858b33924fa10528df6d1938b981841bcca86122;p=citadel.git diff --git a/citadel/domain.h b/citadel/domain.h index b20941725..646c23df1 100644 --- a/citadel/domain.h +++ b/citadel/domain.h @@ -1,3 +1,23 @@ +/* + * $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 { int pref; @@ -5,3 +25,19 @@ struct mx { }; 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