1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 01:23:53 +02:00

expose streams to other extensions.

This commit is contained in:
Wez Furlong
2001-05-12 21:48:39 +00:00
parent cbc07d4eb0
commit 7a88deb402

View File

@@ -17,6 +17,7 @@
| Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
| 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
*/