summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-06-11 09:01:56 +0000
committerDmitry Stogov <dmitry@php.net>2008-06-11 09:01:56 +0000
commit99933df5e2064cd751e4bbe8f7a52ee6af12954f (patch)
tree6115fdd883ca8a2da96fdbd0b7e672022cec4c25 /main/php_streams.h
parent8d260b6b7169de3083a2bbe059e283d9c2c572a3 (diff)
downloadphp-git-99933df5e2064cd751e4bbe8f7a52ee6af12954f.tar.gz
closeder/readdir/rewinddir must work only with directories
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 91e09f8f2d..5447c954a1 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -181,6 +181,8 @@ struct _php_stream_wrapper {
#define PHP_STREAM_FLAG_NO_CLOSE 32
+#define PHP_STREAM_FLAG_IS_DIR 64
+
struct _php_stream {
php_stream_ops *ops;
void *abstract; /* convenience pointer for abstraction */