The "c_smtpclient_use_starttls" configuration option has been replaced
[citadel.git] / citadel / domain.h
index 0d9ac9f66074cbe8593708421795eb0057881390..ba367593d643dcbef31b0407117e95fbe0652017 100644 (file)
@@ -1,6 +1,13 @@
 /*
- * $Id$
+ * Copyright (c) 1987-2012 by the citadel.org team
  *
+ * This program is open source software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3.
+ *
+ * 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.
  */
 
 struct mx {
@@ -8,5 +15,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