summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-28 13:05:47 +0000
committerWez Furlong <wez@php.net>2002-09-28 13:05:47 +0000
commit84e0df3dfe098b91baf4723bca3ba11de853b8d5 (patch)
treeedd31bbe66e5acaef256bd09fc5dd593e9983b97 /main/php_streams.h
parent8aae36aecb9e9ac185a7a904d02a5955d0302c8e (diff)
downloadphp-git-84e0df3dfe098b91baf4723bca3ba11de853b8d5.tar.gz
Allow user streams/wrappers to implement fstat(), opendir() and stat().
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h2
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);