From: Ilia Alshanetsky Date: Fri, 7 Feb 2003 22:49:21 +0000 (+0000) Subject: Added missing definitions. X-Git-Tag: RELEASE_0_5~1223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a592f3cc560c41def202b6ab022100f3b3fed4f1;p=php Added missing definitions. --- 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