com php-src: add missing stuff is the header: main/php_stream s.h
| From: | Anatol Belski | Date: | Thu, 02 Jul 2015 12:22:56 +0000 |
| Subject: | com php-src: add missing stuff is the header: main/php_stream s.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87700@lists.php.net to get a copy of this message | ||
Commit: 1a5a4d546ede8fcdf7a9cc4462858bfedf3644d9
Author: Anatol Belski <ab@php.net> Tue, 30 Jun 2015 15:57:49 +0200
Parents: 734d907aa4d5f6005c1c32e2d5a229b059954d81
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1a5a4d546ede8fcdf7a9cc4462858bfedf3644d9
Log:
add missing stuff is the header
Changed paths:
M main/php_streams.h
Diff:
diff --git a/main/php_streams.h b/main/php_streams.h
index 81822a7..87965e2 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -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