diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2010-11-05 18:53:48 +0000 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2010-11-05 18:53:48 +0000 |
commit | 8342c36f09ef9ae6d4e94624a0528b7ab3893128 (patch) | |
tree | 0c86b4b2427a18f9ae21275ab10dc92d8b105931 /main/php_streams.h | |
parent | b84e262f63b6848b4046295a7d06e17124e250da (diff) | |
download | php-git-8342c36f09ef9ae6d4e94624a0528b7ab3893128.tar.gz |
- Renamed php_stream_rep_nonstand_mode to
php_stream_mode_sanitize_fdopen_fopencookie, made it not
exported and movied it from php_streams.h to
php_streams_int.h.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-x | main/php_streams.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index 5e1aa4f63b..5cc78aa4bf 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -462,12 +462,6 @@ END_EXTERN_C() #define PHP_STREAM_CAST_MASK (PHP_STREAM_CAST_TRY_HARD | PHP_STREAM_CAST_RELEASE | PHP_STREAM_CAST_INTERNAL) BEGIN_EXTERN_C() PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err TSRMLS_DC); -/* This functions transforms the first char to 'w' if it's not 'r', 'a' or 'w' - * and strips any subsequent chars except '+' and 'b'. - * Use this to sanitize stream->mode if you call e.g. fdopen, fopencookie or - * any other function that expects standard modes and you allow non-standard - * ones. result should be a char[5]. */ -PHPAPI void php_stream_rep_nonstand_mode(php_stream *stream, char *result); END_EXTERN_C() /* use this to check if a stream can be cast into another form */ #define php_stream_can_cast(stream, as) _php_stream_cast((stream), (as), NULL, 0 TSRMLS_CC) |