X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/059ec3d9952740285fb1ebf47961b8aca2eb1b4a..158b02e0e2e6c4693bdbba50009a329be3a05f77:/src/exim_monitor/em_hdr.h diff --git a/src/exim_monitor/em_hdr.h b/src/exim_monitor/em_hdr.h index c89b6db55..87e4fc6df 100644 --- a/src/exim_monitor/em_hdr.h +++ b/src/exim_monitor/em_hdr.h @@ -1,9 +1,9 @@ -/* $Cambridge: exim/src/exim_monitor/em_hdr.h,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */; iline// /************************************************* * Exim Monitor * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2009 */ +/* Copyright (c) The Exim Maintainers 2021 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -86,24 +86,25 @@ anything. */ /* Regular expression include */ -#include "pcre/pcre.h" +#define PCRE2_CODE_UNIT_WIDTH 8 +#include -/* 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 - -#include "mytypes.h" -#include "macros.h" -#include "config.h" +#ifndef NS_MAXMSG +# define NS_MAXMSG 65535 +#endif +typedef void hctx; #include "local_scan.h" +#include "macros.h" #include "structs.h" +#include "blob.h" #include "globals.h" +#include "dbstuff.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. */ @@ -274,7 +275,7 @@ extern uschar *queue_stripchart_name; /* sic */ extern int queue_update; /* update interval */ extern int queue_width; /* width of queue window */ -extern pcre *yyyymmdd_regex; /* for matching yyyy-mm-dd */ +extern pcre2_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 */ @@ -283,7 +284,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 pcre **stripchart_regex; /* vector of regexps */ +extern pcre2_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 */