summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-06-11 09:02:09 +0000
committerDmitry Stogov <dmitry@php.net>2008-06-11 09:02:09 +0000
commit6cd3a97ce20778d46ccc93e0bdcf788246a0058f (patch)
tree194fc192cc21f1e4d6e14d37436c03e1d869d0e7 /main/php_streams.h
parent32b6c60deae7193e68b21349a77f57d180dffad5 (diff)
downloadphp-git-6cd3a97ce20778d46ccc93e0bdcf788246a0058f.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 b5e4ac508c..455c2c8505 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 */