summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-02-18 09:37:54 +0000
committerWez Furlong <wez@php.net>2003-02-18 09:37:54 +0000
commite52aac940f0c657b4f5d1cddaf7c14f81c1d4b67 (patch)
tree8ad30d117e33db2149d5a285fa359f3df57af1d2 /Zend/zend.h
parent500dfcfd62d04937ce73e46c0fb9b5e82da84105 (diff)
downloadphp-git-e52aac940f0c657b4f5d1cddaf7c14f81c1d4b67.tar.gz
Implement simple stream support in the ZE scanners.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index c031bce103..f6eca9989e 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -342,6 +342,7 @@ struct _zend_class_entry {
typedef struct _zend_class_entry zend_namespace; /* namespace is the same as class */
+#include "zend_stream.h"
typedef struct _zend_utility_functions {
void (*error_function)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args);
int (*printf_function)(const char *format, ...);
@@ -353,6 +354,7 @@ typedef struct _zend_utility_functions {
int (*get_configuration_directive)(char *name, uint name_length, zval *contents);
void (*ticks_function)(int ticks);
void (*on_timeout)(int seconds TSRMLS_DC);
+ int (*stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC);
} zend_utility_functions;
@@ -485,6 +487,7 @@ extern ZEND_API void (*zend_unblock_interruptions)(void);
extern ZEND_API void (*zend_ticks_function)(int ticks);
extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args);
extern void (*zend_on_timeout)(int seconds TSRMLS_DC);
+extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC);
ZEND_API void zend_error(int type, const char *format, ...);