diff options
author | Wez Furlong <wez@php.net> | 2002-09-28 13:05:47 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-09-28 13:05:47 +0000 |
commit | 84e0df3dfe098b91baf4723bca3ba11de853b8d5 (patch) | |
tree | edd31bbe66e5acaef256bd09fc5dd593e9983b97 /main/php_streams.h | |
parent | 8aae36aecb9e9ac185a7a904d02a5955d0302c8e (diff) | |
download | php-git-84e0df3dfe098b91baf4723bca3ba11de853b8d5.tar.gz |
Allow user streams/wrappers to implement fstat(), opendir() and stat().
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-x | main/php_streams.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index ff7861a452..fb260a7130 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -514,7 +514,9 @@ PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int opt /* for user-space streams */ PHPAPI extern php_stream_ops php_stream_userspace_ops; +PHPAPI extern php_stream_ops php_stream_userspace_dir_ops; #define PHP_STREAM_IS_USERSPACE &php_stream_userspace_ops +#define PHP_STREAM_IS_USERSPACE_DIR &php_stream_userspace_dir_ops PHPAPI void php_stream_context_free(php_stream_context *context); PHPAPI php_stream_context *php_stream_context_alloc(void); |