From 2b85bce7b396f5bdcb873a9faef7d54ea33ce26f Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Thu, 14 Jun 2007 13:27:11 +0000 Subject: [PATCH] Export body_linecount and body_zerocount in the local_scan API. --- doc/doc-txt/ChangeLog | 5 ++++- doc/doc-txt/NewStuff | 9 ++++++++- src/src/globals.h | 4 +--- src/src/local_scan.h | 4 +++- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index d3ee4bc16..099f5e0ea 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.510 2007/05/31 12:41:49 magnus Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.511 2007/06/14 13:27:11 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -45,6 +45,9 @@ MH/02 The dsearch lookup now uses lstat(2) instead of stat(2) to look for symlink would fail. Now it is enough that a matching directory entry exists, symlink or not. (Bugzilla 503.) +PH/03 The body_linecount and body_zerocount variables are now exported in the + local_scan API. + Exim version 4.67 ----------------- diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index fa86b1e07..3de7f6366 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/NewStuff,v 1.146 2007/04/17 13:06:10 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/NewStuff,v 1.147 2007/06/14 13:27:11 ph10 Exp $ New Features in Exim -------------------- @@ -8,6 +8,13 @@ Before a formal release, there may be quite a lot of detail so that people can test from the snapshots or the CVS before the documentation is updated. Once the documentation is updated, this file is reduced to a short list. +Version 4.68 +------------ + + 1. The body_linecount and body_zerocount C variables are now exported in the + local_scan API. + + Version 4.67 ------------ diff --git a/src/src/globals.h b/src/src/globals.h index 8dbb41379..e8bcdec88 100644 --- a/src/src/globals.h +++ b/src/src/globals.h @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/globals.h,v 1.52 2007/04/13 15:13:47 ph10 Exp $ */ +/* $Cambridge: exim/src/src/globals.h,v 1.53 2007/06/14 13:27:11 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -184,8 +184,6 @@ extern int bmi_deliver; /* Flag that determines if the message sh extern int bmi_run; /* Flag that determines if message should be run through Brightmail server */ extern uschar *bmi_verdicts; /* BASE64-encoded verdicts with recipient lists */ #endif -extern int body_linecount; /* Line count in body */ -extern int body_zerocount; /* Binary zero count in body */ extern uschar *bounce_message_file; /* Template file */ extern uschar *bounce_message_text; /* One-liner */ extern uschar *bounce_recipient; /* When writing an errmsg */ diff --git a/src/src/local_scan.h b/src/src/local_scan.h index 90cb99103..20d6c8773 100644 --- a/src/src/local_scan.h +++ b/src/src/local_scan.h @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/local_scan.h,v 1.10 2007/01/08 10:50:18 ph10 Exp $ */ +/* $Cambridge: exim/src/src/local_scan.h,v 1.11 2007/06/14 13:27:11 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -139,6 +139,8 @@ typedef struct recipient_item { extern unsigned int debug_selector; /* Debugging bits */ +extern int body_linecount; /* Line count in body */ +extern int body_zerocount; /* Binary zero count in body */ extern uschar *expand_string_message; /* Error info for failing expansion */ extern uschar *headers_charset; /* Charset for RFC 2047 decoding */ extern header_line *header_last; /* Final header */ -- 2.30.2