From 30dacafa720d65e9acbc4ce2a8845e47c60d16da Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 21 Feb 2007 21:56:45 +0000 Subject: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper --- main/php_streams.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/php_streams.h') 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; -- cgit v1.2.1