summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-07 22:49:21 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-07 22:49:21 +0000
commita592f3cc560c41def202b6ab022100f3b3fed4f1 (patch)
treea9b613107b5f667673097f5912cc293c74e9adee /main/php_streams.h
parent9e780033c272b9c10f5389c49b9edde20b8c0477 (diff)
downloadphp-git-a592f3cc560c41def202b6ab022100f3b3fed4f1.tar.gz
Added missing definitions.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index afd74f4521..ad4ab3be5a 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -481,7 +481,6 @@ PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show
#define IGNORE_PATH 0
#define USE_PATH 1
#define IGNORE_URL 2
-/* There's no USE_URL. */
#define ENFORCE_SAFE_MODE 4
#define REPORT_ERRORS 8
/* If you don't need to write to the stream, but really need to
@@ -502,6 +501,12 @@ PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show
/* this flag is only used by include/require functions */
#define STREAM_OPEN_FOR_INCLUDE 128
+/* this flag tells streams to ONLY open urls */
+#define STREAM_USE_URL 256
+
+/* this flag is used when only the headers from HTTP request are to be fetched */
+#define STREAM_ONLY_GET_HEADERS 512
+
/* Antique - no longer has meaning */
#define IGNORE_URL_WIN 0