diff options
author | Sara Golemon <pollita@php.net> | 2006-03-24 19:22:24 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2006-03-24 19:22:24 +0000 |
commit | 880dd406f2f35770c21c3cf269a1ff45cf22561b (patch) | |
tree | d47d66f0bd100cd83066f568a7ea33f9327e2739 /main/php_streams.h | |
parent | de2f7f1d6660732053bbe2ef1c9ff6b7c2f72633 (diff) | |
download | php-git-880dd406f2f35770c21c3cf269a1ff45cf22561b.tar.gz |
Add php_stream_get_record_unicde() API call.
Update stream_get_line() userspace function to handle unicode streams.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-x | main/php_streams.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index 1bb4533443..d62a103937 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -329,6 +329,8 @@ PHPAPI void *_php_stream_get_line(php_stream *stream, int buf_type, zstr buf, si _php_stream_get_line((stream), (buf_type), ZSTR(buf), (maxlen), (maxchars), NULL TSRMLS_CC) PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len TSRMLS_DC); +PHPAPI UChar *php_stream_get_record_unicode(php_stream *stream, size_t maxlen, size_t maxchars, size_t *returned_len, UChar *delim, size_t delim_len TSRMLS_DC); + PHPAPI UChar *_php_stream_u_get_line(php_stream *stream, UChar *buf, int32_t *pmax_bytes, int32_t *pmax_chars, int *pis_unicode TSRMLS_DC); #define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, buf_type) _php_stream_u_get_line((stream), (buf), (maxlen_buf), (maxlen_chars), (buf_type) TSRMLS_CC) |