]> granicus.if.org Git - php/commitdiff
add missing stuff is the header
authorAnatol Belski <ab@php.net>
Tue, 30 Jun 2015 13:57:49 +0000 (15:57 +0200)
committerAnatol Belski <ab@php.net>
Thu, 2 Jul 2015 12:22:56 +0000 (14:22 +0200)
main/php_streams.h

index 81822a7076909511c346423e32e05f29ac1a741b..87965e2758ee2d7e695332280dd34c6e024f7c19 100644 (file)
@@ -399,6 +399,9 @@ END_EXTERN_C()
 #define PHP_STREAM_OPTION_READ_BUFFER  2
 #define PHP_STREAM_OPTION_WRITE_BUFFER 3
 
+/* Enable/disable blocking reads on anonymous pipes on Windows. */
+#define PHP_STREAM_OPTION_PIPE_BLOCKING 4
+
 #define PHP_STREAM_BUFFER_NONE 0       /* unbuffered */
 #define PHP_STREAM_BUFFER_LINE 1       /* line buffered */
 #define PHP_STREAM_BUFFER_FULL 2       /* fully buffered */
@@ -546,6 +549,9 @@ END_EXTERN_C()
 /* assume the path passed in exists and is fully expanded, avoiding syscalls */
 #define STREAM_ASSUME_REALPATH          0x00004000
 
+/* Allow blocking reads on anonymous pipes on Windows. */
+#define STREAM_USE_BLOCKING_PIPE        0x00008000
+
 /* Antique - no longer has meaning */
 #define IGNORE_URL_WIN 0