summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-21 21:56:45 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-21 21:56:45 +0000
commit30dacafa720d65e9acbc4ce2a8845e47c60d16da (patch)
treee578b1a55b70b541e5a6f6f1135a55cf8bc38c94 /main/php_streams.h
parent330573105401218f184bafb6e3b568d615f4ad2c (diff)
downloadphp-git-30dacafa720d65e9acbc4ce2a8845e47c60d16da.tar.gz
implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper
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 fd0060dbac..0d0cf1750b 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -186,6 +186,8 @@ struct _php_stream_wrapper {
* might otherwise cause the read to block for much longer than
* is strictly required. */
#define PHP_STREAM_FLAG_AVOID_BLOCKING 16
+
+#define PHP_STREAM_FLAG_NO_CLOSE 32
struct _php_stream {
php_stream_ops *ops;