- Added a new PHPAPI function to return module_initialized:

php_get_module_initialized().
This commit is contained in:
Derick Rethans 2011-06-24 11:19:34 +00:00
parent bcf7e60d4c
commit 29565d1a4c
2 changed files with 8 additions and 0 deletions

View File

@ -528,6 +528,13 @@ static int php_during_module_shutdown(void)
}
/* }}} */
/* {{{ php_get_module_initialized
*/
PHPAPI int php_get_module_initialized(void)
{
return module_initialized;
}
/* {{{ php_log_err
*/
PHPAPI void php_log_err(char *log_message TSRMLS_DC)

View File

@ -285,6 +285,7 @@ void phperror(char *error);
PHPAPI int php_write(void *buf, uint size TSRMLS_DC);
PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
2);
PHPAPI int php_get_module_initialized(void);
PHPAPI void php_log_err(char *log_message TSRMLS_DC);
int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
int cfgparse(void);