citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

domain.h
Go to the documentation of this file.
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
13struct mx {
14 int pref;
15 char host[1024];
16};
17
18int getmx(char *mxbuf, char *dest);
19int 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
int get_hosts(char *mxbuf, char *rectype)
Definition: domain.c:34
int getmx(char *mxbuf, char *dest)
Definition: domain.c:90
Definition: domain.h:13
char host[1024]
Definition: domain.h:15
int pref
Definition: domain.h:14