summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-19 00:39:29 +0000
committerMarcus Boerger <helly@php.net>2004-01-19 00:39:29 +0000
commit805dfab8902a95d94cf1393abdb99a01673a57f8 (patch)
treee4d5986d67d331965ca825125b6cfb85e28e961b /Zend/zend_API.h
parent3ee59febe7034deded414a07dc4a146d41ab15d0 (diff)
downloadphp-git-805dfab8902a95d94cf1393abdb99a01673a57f8.tar.gz
Add zend_get_module_started() to quickly check whether a module is present
and its MINIT function has been called.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index f6290479ca..a869f2950c 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -176,6 +176,7 @@ ZEND_API void zend_wrong_param_count(TSRMLS_D);
ZEND_API zend_bool zend_is_callable(zval *callable, zend_bool syntax_only, char **callable_name);
ZEND_API zend_bool zend_make_callable(zval *callable, char **callable_name TSRMLS_DC);
ZEND_API char *zend_get_module_version(char *module_name);
+ZEND_API int zend_get_module_started(char *module_name);
ZEND_API int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type TSRMLS_DC);
ZEND_API int zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type TSRMLS_DC);
ZEND_API int zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC);