[exim-cvs] Observability variable

Pàgina inicial
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
A: exim-cvs
Assumpte: [exim-cvs] Observability variable
Gitweb: http://git.exim.org/exim.git/commitdiff/eb02f5dfc17b6e73fffe6ff19bc1be5cdd765f41
Commit:     eb02f5dfc17b6e73fffe6ff19bc1be5cdd765f41
Parent:     c65be1246d0cb9dc90bdeb99bb9162153a5e6fd7
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Mar 25 20:45:58 2015 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri Apr 3 15:24:26 2015 +0100


    Observability variable
---
 src/src/expand.c  |    3 +++
 src/src/globals.c |    3 +++
 src/src/globals.h |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/src/src/expand.c b/src/src/expand.c
index 8a7a27e..b613ef2 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -549,6 +549,9 @@ static var_entry var_table[] = {
   { "message_id",          vtype_stringptr,   &message_id },
   { "message_linecount",   vtype_int,         &message_linecount },
   { "message_size",        vtype_int,         &message_size },
+#ifdef EXPERIMENTAL_INTERNATIONAL
+  { "message_smtputf8",    vtype_bool,        &message_smtputf8 },
+#endif
 #ifdef WITH_CONTENT_SCAN
   { "mime_anomaly_level",  vtype_int,         &mime_anomaly_level },
   { "mime_anomaly_text",   vtype_stringptr,   &mime_anomaly_text },
diff --git a/src/src/globals.c b/src/src/globals.c
index b68ed7e..ffaa53c 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -906,6 +906,9 @@ int     message_linecount      = 0;
 BOOL    message_logs           = TRUE;
 int     message_size           = 0;
 uschar *message_size_limit     = US"50M";
+#ifdef EXPERIMENTAL_INTERNATIONAL
+BOOL    message_smtputf8       = FALSE;
+#endif
 uschar  message_subdir[2]      = { 0, 0 };
 uschar *message_reference      = NULL;


diff --git a/src/src/globals.h b/src/src/globals.h
index 5c00220..38b2a9d 100644
--- a/src/src/globals.h
+++ b/src/src/globals.h
@@ -570,6 +570,9 @@ extern int     message_linecount;      /* As it says */
 extern BOOL    message_logs;           /* TRUE to write message logs */
 extern int     message_size;           /* Size of message */
 extern uschar *message_size_limit;     /* As it says */
+#ifdef EXPERIMENTAL_INTERNATIONAL
+extern BOOL    message_smtputf8;       /* Internationalized mail handling */
+#endif
 extern uschar  message_subdir[];       /* Subdirectory for messages */
 extern uschar *message_reference;      /* Reference for error messages */