cvs: ZendEngine2 / zend_API.h
| From: | Marcus Boerger | Date: | Mon, 19 Jan 2004 00:38:51 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2224@lists.php.net to get a copy of this message | ||
helly Sun Jan 18 19:38:51 2004 EDT
Modified files:
/ZendEngine2 zend_API.h
Log:
Add zend_get_module_started() to quickly check whether a module is present
and its MINIT function has been called.
Index: ZendEngine2/zend_API.h
diff -u ZendEngine2/zend_API.h:1.176 ZendEngine2/zend_API.h:1.177
--- ZendEngine2/zend_API.h:1.176 Sun Jan 11 19:17:38 2004
+++ ZendEngine2/zend_API.h Sun Jan 18 19:38:51 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.h,v 1.176 2004/01/12 00:17:38 helly Exp $ */
+/* $Id: zend_API.h,v 1.177 2004/01/19 00:38:51 helly Exp $ */
#ifndef ZEND_API_H
#define ZEND_API_H
@@ -176,6 +176,7 @@
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);