summaryrefslogtreecommitdiff
path: root/main/php_main.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-03-14 03:01:01 +0300
committerDmitry Stogov <dmitry@zend.com>2019-03-14 03:01:01 +0300
commit9499484ed2f0377678b2b4d88573327ee0e4ce6d (patch)
tree2253189b70e711565902d2c372fe5d93ce111358 /main/php_main.h
parenta1b7bc0c8148eaf728fccdffe147e3bc0c03f18e (diff)
downloadphp-git-9499484ed2f0377678b2b4d88573327ee0e4ce6d.tar.gz
Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc.
Diffstat (limited to 'main/php_main.h')
-rw-r--r--main/php_main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php_main.h b/main/php_main.h
index 8f440de820..6f2f9c5856 100644
--- a/main/php_main.h
+++ b/main/php_main.h
@@ -49,6 +49,12 @@ PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *h
/* environment module */
extern int php_init_environ(void);
extern int php_shutdown_environ(void);
+
+#ifdef ZTS
+PHPAPI void php_reserve_tsrm_memory(void);
+PHPAPI int php_tsrm_startup(void);
+#endif
+
END_EXTERN_C()
#endif