Updated the CtdlUserGoto() API call to also return the oldest and newest message...
[citadel.git] / citadel / domain.h
index e7091b5db9e251dea09bd96c4ccce3147b95c4e9..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,18 +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(int16)
+#define        INT16SZ         sizeof(cit_int16_t)
 #endif
 #ifndef INT32SZ
-#define INT32SZ                sizeof(int32)
+#define INT32SZ                sizeof(cit_int32_t)
 #endif