From: Wez Furlong Date: Sat, 12 May 2001 21:48:39 +0000 (+0000) Subject: expose streams to other extensions. X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~453 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a88deb40258ec00d93afec7c05c107044fe0025;p=php expose streams to other extensions. --- diff --git a/ext/standard/file.c b/ext/standard/file.c index bc0023dcac..04aadafb2e 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -17,6 +17,7 @@ | Andi Gutmans | | Zeev Suraski | | PHP 4.0 patches by Thies C. Arntzen (thies@thieso.net) | + | PHP 4.1 streams by Wez Furlong (wez@thebrainroom.com) | +----------------------------------------------------------------------+ */ @@ -137,6 +138,11 @@ static void _file_stream_dtor(zend_rsrc_list_entry * rsrc) } #endif +PHPAPI int php_file_le_stream(void) +{ + return le_stream; +} + static void _file_fopen_dtor(zend_rsrc_list_entry *rsrc) { FILE *fp = (FILE *)rsrc->ptr; @@ -2428,6 +2434,7 @@ php_meta_tags_token php_next_meta_token(FILE *fp, int socketd, int issock, int * * tab-width: 4 * c-basic-offset: 4 * End: + * vim: tw=78 sw=4 ts=4 */