git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Partial workaround for TCP Fast Open issue. Bug 2907
[exim.git]
/
src
/
exim_monitor
/
em_hdr.h
diff --git
a/src/exim_monitor/em_hdr.h
b/src/exim_monitor/em_hdr.h
index e68bba2e885a2d0f494bd5b4a7c3f3dc51a84c88..ab37806b7a2e1c1f8bc4176990ee5d301eca1cef 100644
(file)
--- a/
src/exim_monitor/em_hdr.h
+++ b/
src/exim_monitor/em_hdr.h
@@
-1,10
+1,9
@@
-/* $Cambridge: exim/src/exim_monitor/em_hdr.h,v 1.5 2006/02/07 11:18:59 ph10 Exp $ */
-
/*************************************************
* Exim Monitor *
*************************************************/
/*************************************************
* Exim Monitor *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2006 */
+/* Copyright (c) University of Cambridge 1995 - 2009 */
+/* Copyright (c) The Exim Maintainers 2021 - 2022 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-87,24
+86,26
@@
anything. */
/* Regular expression include */
/* Regular expression include */
-#include "pcre/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. */
+#define PCRE2_CODE_UNIT_WIDTH 8
+#include <pcre2.h>
-#define MAXPACKET 1024
+/* 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. */
-#include "config.h"
-#include "mytypes.h"
-#include "macros.h"
+#ifndef NS_MAXMSG
+# define NS_MAXMSG 65535
+#endif
+typedef void * hctx;
#include "local_scan.h"
#include "local_scan.h"
+#include "macros.h"
#include "structs.h"
#include "structs.h"
+#include "blob.h"
#include "globals.h"
#include "globals.h"
+#include "hintsdb.h"
+#include "hintsdb_structs.h"
#include "functions.h"
#include "osfunctions.h"
#include "functions.h"
#include "osfunctions.h"
-#include "store.h"
/* The sys/resource.h header on SunOS 4 causes trouble with the gcc
compiler. Just stuff the bit we want in here; pragmatic easy way out. */
/* The sys/resource.h header on SunOS 4 causes trouble with the gcc
compiler. Just stuff the bit we want in here; pragmatic easy way out. */
@@
-275,7
+276,7
@@
extern uschar *queue_stripchart_name; /* sic */
extern int queue_update; /* update interval */
extern int queue_width; /* width of queue window */
extern int queue_update; /* update interval */
extern int queue_width; /* width of queue window */
-extern pcre *yyyymmdd_regex; /* for matching yyyy-mm-dd */
+extern pcre
2_code
*yyyymmdd_regex; /* for matching yyyy-mm-dd */
extern uschar *size_stripchart; /* path for size monitoring */
extern uschar *size_stripchart_name; /* name for size stripchart */
extern uschar *size_stripchart; /* path for size monitoring */
extern uschar *size_stripchart_name; /* name for size stripchart */
@@
-284,7
+285,7
@@
extern int spool_is_split; /* True if detected split spool */
extern int start_small; /* True to start with small window */
extern int stripchart_height; /* height of stripcharts */
extern int stripchart_number; /* number of stripcharts */
extern int start_small; /* True to start with small window */
extern int stripchart_height; /* height of stripcharts */
extern int stripchart_number; /* number of stripcharts */
-extern pcre **stripchart_regex; /* vector of regexps */
+extern pcre
2_code
**stripchart_regex; /* vector of regexps */
extern uschar **stripchart_title; /* vector of titles */
extern int *stripchart_total; /* vector of accumulating values */
extern int stripchart_update; /* update interval */
extern uschar **stripchart_title; /* vector of titles */
extern int *stripchart_total; /* vector of accumulating values */
extern int stripchart_update; /* update interval */