diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-09 20:43:05 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-09 20:43:05 +0000 |
commit | f98ea4c46d06ab206ee93b53fb48744fa3888bc9 (patch) | |
tree | 7492b3c578cc288fcce4ad76c837693be1197eff /main/php_streams.h | |
parent | 8b5bc3ecd3c6049ad930012fe6a4cbe1f02182b7 (diff) | |
download | php-git-f98ea4c46d06ab206ee93b53fb48744fa3888bc9.tar.gz |
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).
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 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) |