summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-06-28 11:24:47 +0000
committerWez Furlong <wez@php.net>2003-06-28 11:24:47 +0000
commit5ecc91c27d1faa7b1917241c71f5f9f82746f985 (patch)
treeab7a4544ae31c2fc884aaff9961ecb36b170447f /main/php_streams.h
parent8dfe3852155911cbf1a2a099873fc9f9305a5876 (diff)
downloadphp-git-5ecc91c27d1faa7b1917241c71f5f9f82746f985.tar.gz
Merge selectable descriptor casting from PHP_4_3 branch.
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 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