summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-16 13:48:57 +0000
committerWez Furlong <wez@php.net>2002-03-16 13:48:57 +0000
commit30647934a477f876992c3390ce483bb55a3eee51 (patch)
treef6b85a5d08e90028538485c8a0addadd0f0a62c2 /main/php_streams.h
parentd4e63bc5bf1dacce00f317bc2b3b759f6f6138d7 (diff)
downloadphp-git-30647934a477f876992c3390ce483bb55a3eee51.tar.gz
Tweak the API to be more consistent.
Update docs.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 289ae46b63..7ec7f6f6f7 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -107,7 +107,7 @@ PHPAPI int php_stream_puts(php_stream *stream, char *buf);
PHPAPI size_t php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen);
/* read all data from stream and put into a buffer. Caller must free buffer when done.
* The copy will use mmap if available. */
-PHPAPI size_t php_stream_read_all(php_stream *src, char **buf, int persistent);
+PHPAPI size_t php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen, int persistent);
/* maybe implement someday */
#define php_stream_error(stream) (0)