MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks

This commit is contained in:
Antony Dovgal 2007-02-21 21:57:21 +00:00
parent 2a019a14bf
commit 4a95928d1d
4 changed files with 12 additions and 9 deletions

View file

@ -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;