summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-21 21:57:21 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-21 21:57:21 +0000
commit4a95928d1dc9c22f2f772c9136581a410efa573c (patch)
tree3d4ef7e7655d9ee2e357e26c182f07adab2bb70b /main/php_streams.h
parent2a019a14bf221d71ccea072abec95d5288521ca3 (diff)
downloadphp-git-4a95928d1dc9c22f2f772c9136581a410efa573c.tar.gz
MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks
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 c7f424f296..e4a56eacab 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -178,6 +178,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;