X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1a46a8c5c398c91f20c3f4def0ceb448ec8de96a..4be39b496784bce2aa712eabb7c35480ede40a59:/src/src/local_scan.h diff --git a/src/src/local_scan.h b/src/src/local_scan.h index fdc73bed5..20d6c8773 100644 --- a/src/src/local_scan.h +++ b/src/src/local_scan.h @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/local_scan.h,v 1.4 2005/03/22 14:11:54 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 * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2005 */ +/* 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 @@ -14,9 +14,11 @@ available for use in that function, and which are documented. This API is also used for functions called by the ${dlfunc expansion item. */ -/* Some basic types that make some things easier, and the store functions. */ +/* Some basic types that make some things easier, the Exim configuration +settings, and the store functions. */ #include +#include "config.h" #include "mytypes.h" #include "store.h" @@ -98,7 +100,9 @@ each time a new feature is added (in a way that doesn't break backward compatibility). */ #define LOCAL_SCAN_ABI_VERSION_MAJOR 1 -#define LOCAL_SCAN_ABI_VERSION_MINOR 0 +#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. */ @@ -135,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 */ @@ -160,6 +166,7 @@ extern BOOL smtp_input; /* TRUE if input is via SMTP */ extern int child_close(pid_t, int); extern pid_t child_open(uschar **, uschar **, int, int *, int *, BOOL); extern pid_t child_open_exim(int *); +extern pid_t child_open_exim2(int *, uschar *, uschar *); extern void debug_printf(char *, ...) PRINTF_FUNCTION; extern uschar *expand_string(uschar *); extern void header_add(int, char *, ...);