summaryrefslogtreecommitdiff
path: root/win32/php_win32_globals.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-11-10 11:42:07 +0000
committerDmitry Stogov <dmitry@php.net>2006-11-10 11:42:07 +0000
commit532b02cd1934d227b08f7af4d42fd061dc4486a0 (patch)
tree6d5be39a5b0e8fba3caffa52ff8cb4281a87191c /win32/php_win32_globals.h
parent41c81f20e180bb73d1765866ef2b1eafe8ccc35c (diff)
downloadphp-git-532b02cd1934d227b08f7af4d42fd061dc4486a0.tar.gz
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
Diffstat (limited to 'win32/php_win32_globals.h')
-rwxr-xr-xwin32/php_win32_globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/php_win32_globals.h b/win32/php_win32_globals.h
index c130d5bc50..36d28e2beb 100755
--- a/win32/php_win32_globals.h
+++ b/win32/php_win32_globals.h
@@ -41,9 +41,14 @@ struct _php_win32_core_globals {
/* time */
struct timeval starttime;
__int64 lasttime, freq;
+
+ HKEY registry_key;
+ HANDLE registry_event;
+ HashTable *registry_directories;
};
void php_win32_core_globals_ctor(void *vg TSRMLS_DC);
+void php_win32_core_globals_dtor(void *vg TSRMLS_DC);
PHP_RSHUTDOWN_FUNCTION(win32_core_globals);
#endif