Increase buffer size used for DNS responses. Bug 2329
[exim.git] / src / exim_monitor / em_hdr.h
index a6a642f628b3532e1aa3ac5651e63143fca4815e..ada9f36b415aab4f938a41b1dd45847fb0289eb0 100644 (file)
@@ -1,10 +1,8 @@
-/* $Cambridge: exim/src/exim_monitor/em_hdr.h,v 1.6 2007/01/08 10:50:17 ph10 Exp $ */
-
 /*************************************************
 *                 Exim Monitor                   *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2007 */
+/* Copyright (c) University of Cambridge 1995 - 2009 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 
@@ -87,13 +85,15 @@ anything. */
 
 /* Regular expression include */
 
-#include "pcre/pcre.h"
+#include <pcre.h>
 
-/* Includes from the main source of Exim. We need to have MAXPACKET defined for
-the benefit of structs.h. One of these days I should tidy up this interface so
-that this kind of kludge isn't needed. */
+/* Includes from the main source of Exim.  One of these days I should tidy up
+this interface so that this kind of kludge isn't needed. */
 
-#define MAXPACKET 1024
+#ifndef NS_MAXMSG
+# define NS_MAXMSG 65535
+#endif
+typedef void hctx;
 
 #include "config.h"
 #include "mytypes.h"
@@ -101,7 +101,9 @@ that this kind of kludge isn't needed. */
 
 #include "local_scan.h"
 #include "structs.h"
+#include "blob.h"
 #include "globals.h"
+#include "dbstuff.h"
 #include "functions.h"
 #include "osfunctions.h"
 #include "store.h"