diff options
| author | Wez Furlong <wez@php.net> | 2003-02-18 09:37:54 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2003-02-18 09:37:54 +0000 |
| commit | e52aac940f0c657b4f5d1cddaf7c14f81c1d4b67 (patch) | |
| tree | 8ad30d117e33db2149d5a285fa359f3df57af1d2 /Zend/zend.c | |
| parent | 500dfcfd62d04937ce73e46c0fb9b5e82da84105 (diff) | |
| download | php-git-e52aac940f0c657b4f5d1cddaf7c14f81c1d4b67.tar.gz | |
Implement simple stream support in the ZE scanners.
Diffstat (limited to 'Zend/zend.c')
| -rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 2a0c1c88b7..9a4e1460de 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -48,6 +48,7 @@ ZEND_API zend_class_entry *zend_standard_class_def = NULL; ZEND_API int (*zend_printf)(const char *format, ...); ZEND_API zend_write_func_t zend_write; ZEND_API FILE *(*zend_fopen)(const char *filename, char **opened_path); +ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC); ZEND_API void (*zend_block_interruptions)(void); ZEND_API void (*zend_unblock_interruptions)(void); ZEND_API void (*zend_ticks_function)(int ticks); @@ -534,6 +535,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i if (!zend_fopen) { zend_fopen = zend_fopen_wrapper; } + zend_stream_open_function = utility_functions->stream_open_function; zend_message_dispatcher_p = utility_functions->message_handler; zend_block_interruptions = utility_functions->block_interruptions; zend_unblock_interruptions = utility_functions->unblock_interruptions; |
