From f98ea4c46d06ab206ee93b53fb48744fa3888bc9 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 9 Feb 2003 20:43:05 +0000 Subject: Added feature request #9173 (added stream_get_line(), this function will read either the specified number of bytes or until the ending string is found). --- 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 ad4ab3be5a..0fbb867c06 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -290,6 +290,7 @@ PHPAPI void php_stream_filter_append(php_stream *stream, php_stream_filter *filt PHPAPI php_stream_filter *php_stream_filter_remove(php_stream *stream, php_stream_filter *filter, int call_dtor TSRMLS_DC); PHPAPI void php_stream_filter_free(php_stream_filter *filter TSRMLS_DC); PHPAPI php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC TSRMLS_DC); +PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len TSRMLS_DC); #define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC TSRMLS_CC) -- cgit v1.2.1