summaryrefslogtreecommitdiff
path: root/win32/php_win32_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/php_win32_globals.h')
-rw-r--r--win32/php_win32_globals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/php_win32_globals.h b/win32/php_win32_globals.h
index ad2435d99c..b22c227eda 100644
--- a/win32/php_win32_globals.h
+++ b/win32/php_win32_globals.h
@@ -23,6 +23,8 @@
/* misc globals for thread-safety under win32 */
+#include "win32/sendmail.h"
+
typedef struct _php_win32_core_globals php_win32_core_globals;
#ifdef ZTS
@@ -41,6 +43,11 @@ struct _php_win32_core_globals {
HKEY registry_key;
HANDLE registry_event;
HashTable *registry_directories;
+
+ char mail_buffer[MAIL_BUFFER_SIZE];
+ SOCKET mail_socket;
+ char mail_host[HOST_NAME_LEN];
+ char mail_local_host[HOST_NAME_LEN];
};
void php_win32_core_globals_ctor(void *vg);