summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-28 16:19:45 +0000
committerSascha Schumann <sas@php.net>2000-05-28 16:19:45 +0000
commit9cd4929417a944a4600875db7018159900bee7b3 (patch)
tree21effb7931a3fb9b2e08641dccef03f9883f1c49 /ext/standard/basic_functions.h
parent1e949e6caa61f6a0c33ae5241056007226108021 (diff)
downloadphp-git-9cd4929417a944a4600875db7018159900bee7b3.tar.gz
Make syslog module thread-safe.
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index db784df0a3..76b7ee5430 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -162,6 +162,10 @@ typedef struct {
php_uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */
php_uint32 *next; /* next random value is computed from here */
int left; /* can *next++ this many times before reloading */
+
+ /* syslog.c */
+ int syslog_started;
+ char *syslog_device;
} php_basic_globals;
#ifdef ZTS