From 4b83b189fe38aa54b0356d0d8ac9c7ef99b8cd07 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 18 Oct 2002 20:39:49 +0000 Subject: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. --- main/php_streams.h | 1 + 1 file changed, 1 insertion(+) (limited to 'main/php_streams.h') diff --git a/main/php_streams.h b/main/php_streams.h index 9a5f12c8fb..0f85166ef6 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -503,6 +503,7 @@ PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *w PHPAPI int php_unregister_url_stream_wrapper(char *protocol TSRMLS_DC); PHPAPI php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char **path_for_open, int options TSRMLS_DC); +PHPAPI char *php_stream_locate_eol(php_stream *stream, char *buf, size_t buf_len TSRMLS_DC); #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC TSRMLS_CC) #define php_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_CC TSRMLS_CC) -- cgit v1.2.1