diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-10-18 20:39:49 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-10-18 20:39:49 +0000 |
commit | 4b83b189fe38aa54b0356d0d8ac9c7ef99b8cd07 (patch) | |
tree | 170bff7cfa4f4ab81f2c20d374f7325f72a74db4 /main/php_streams.h | |
parent | ca1e7301ab80093de57726115b44dc7b02159061 (diff) | |
download | php-git-4b83b189fe38aa54b0356d0d8ac9c7ef99b8cd07.tar.gz |
Fixed bug #19971 (optimized the file() function).
The file() function is now also binary safe.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-x | main/php_streams.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |