From 5ecc91c27d1faa7b1917241c71f5f9f82746f985 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 28 Jun 2003 11:24:47 +0000 Subject: Merge selectable descriptor casting from PHP_4_3 branch. --- 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 58bb7e1609..510ebae2b4 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -388,6 +388,8 @@ PHPAPI size_t _php_stream_passthru(php_stream * src STREAMS_DC TSRMLS_DC); #define PHP_STREAM_AS_FD 1 /* cast as a socketd */ #define PHP_STREAM_AS_SOCKETD 2 +/* cast as fd/socket for select purposes */ +#define PHP_STREAM_AS_FD_FOR_SELECT 3 /* try really, really hard to make sure the cast happens (avoid using this flag if possible) */ #define PHP_STREAM_CAST_TRY_HARD 0x80000000 -- cgit v1.2.1