From 30647934a477f876992c3390ce483bb55a3eee51 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 16 Mar 2002 13:48:57 +0000 Subject: Tweak the API to be more consistent. Update docs. --- main/php_streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_streams.h') 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) -- cgit v1.2.1