summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2010-11-05 18:53:48 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2010-11-05 18:53:48 +0000
commitd37e1ea243ed78e9e925420080b8c8777399c95d (patch)
treee8b6a057cb4dadc2ff02928221013007908a2c42 /main/php_streams.h
parent6bc20667c7bbea2c2040038031bda0bb7cfd2f4a (diff)
downloadphp-git-d37e1ea243ed78e9e925420080b8c8777399c95d.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-xmain/php_streams.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 2ac8151b53..99a75473f4 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)