Export body_linecount and body_zerocount in the local_scan API.
[exim.git] / src / src / local_scan.h
index 326cbdbd05c7cb662de7f788f6f0c46ecce82809..20d6c8773412f17a908469c8897a5a6918090796 100644 (file)
@@ -1,10 +1,10 @@
-/* $Cambridge: exim/src/src/local_scan.h,v 1.8 2006/12/06 09:46:03 magnus 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    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2006 */
+/* Copyright (c) University of Cambridge 1995 - 2007 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 /* This file is the header that is the only Exim header to be included in the
@@ -101,6 +101,8 @@ compatibility). */
 
 #define LOCAL_SCAN_ABI_VERSION_MAJOR 1
 #define LOCAL_SCAN_ABI_VERSION_MINOR 1
+#define LOCAL_SCAN_ABI_VERSION \
+  LOCAL_SCAN_ABI_VERSION_MAJOR.LOCAL_SCAN_ABI_VERSION_MINOR
 
 /* Structure definitions that are documented as visible in the function. */
 
@@ -137,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 */