}
-int zend_startup(zend_utility_functions *utility_functions, zend_utility_values *utility_values, char **extensions)
+int zend_startup(zend_utility_functions *utility_functions, char **extensions)
{
start_memory_manager();
zend_compile_files = compile_files;
zend_execute = execute;
- zend_uv = *utility_values;
zend_llist_init(&zend_extensions, sizeof(zend_extension), (void (*)(void *)) zend_extension_dtor, 1);
/* set up version */
}
+void zend_set_utility_values(zend_utility_values *utility_values)
+{
+ zend_uv = *utility_values;
+}
+
+
/* this should be compatible with the standard zenderror */
void zenderror(char *error)
{
#define IS_CONSTANT 9
#define IS_METHOD 10 /* for overloaded function calls */
-int zend_startup(zend_utility_functions *utility_functions, zend_utility_values *utility_values, char **extensions);
+int zend_startup(zend_utility_functions *utility_functions, char **extensions);
void zend_shutdown();
+void zend_set_utility_values(zend_utility_values *utility_values);
ZEND_API void zend_bailout();
ZEND_API char *get_zend_version();