Lines Matching refs:extension

133 	zend_extension extension;  in zend_register_extension()  local
135 extension = *new_extension; in zend_register_extension()
136 extension.handle = handle; in zend_register_extension()
138 zend_extension_dispatch_message(ZEND_EXTMSG_NEW_EXTENSION, &extension); in zend_register_extension()
140 zend_llist_add_element(&zend_extensions, &extension); in zend_register_extension()
149 static void zend_extension_shutdown(zend_extension *extension TSRMLS_DC) in zend_extension_shutdown()
152 if (extension->shutdown) { in zend_extension_shutdown()
153 extension->shutdown(extension); in zend_extension_shutdown()
158 static int zend_extension_startup(zend_extension *extension) in zend_extension_startup() argument
161 if (extension->startup) { in zend_extension_startup()
162 if (extension->startup(extension)!=SUCCESS) { in zend_extension_startup()
165 zend_append_version_info(extension); in zend_extension_startup()
195 void zend_extension_dtor(zend_extension *extension) in zend_extension_dtor() argument
198 if (extension->handle) { in zend_extension_dtor()
199 DL_UNLOAD(extension->handle); in zend_extension_dtor()
205 static void zend_extension_message_dispatcher(const zend_extension *extension, int num_args, va_lis… in zend_extension_message_dispatcher() argument
210 if (!extension->message_handler || num_args!=2) { in zend_extension_message_dispatcher()
215 extension->message_handler(message, arg); in zend_extension_message_dispatcher()
227 ZEND_API int zend_get_resource_handle(zend_extension *extension) in zend_get_resource_handle() argument
230 extension->resource_number = last_resource_number; in zend_get_resource_handle()
243 zend_extension *extension = (zend_extension *) element->data; in zend_get_extension() local
245 if (!strcmp(extension->name, extension_name)) { in zend_get_extension()
246 return extension; in zend_get_extension()