summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-19 03:51:01 +0000
committerWez Furlong <wez@php.net>2002-03-19 03:51:01 +0000
commit06712a508a82965acbfa9a59eb8a55df11948acd (patch)
tree8cba8bb62ef4d06050d68170c64a9814d10d856c /ext/standard/php_fopen_wrapper.c
parent9e14ed02550d21443dc2467d7c16d2d8b5f709bd (diff)
downloadphp-git-06712a508a82965acbfa9a59eb8a55df11948acd.tar.gz
Implement user-space streams.
There's probably room for improvement, docs will following some time this week.
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index cd1929c768..8677486c52 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -30,7 +30,7 @@
#include "php_standard.h"
#include "php_fopen_wrappers.h"
-php_stream * php_stream_url_wrap_php(char * path, char * mode, int options, char ** opened_path STREAMS_DC TSRMLS_DC)
+php_stream * php_stream_url_wrap_php(char * path, char * mode, int options, char ** opened_path, void *wrappercontext STREAMS_DC TSRMLS_DC)
{
FILE * fp = NULL;
php_stream * stream = NULL;
@@ -54,6 +54,7 @@ php_stream * php_stream_url_wrap_php(char * path, char * mode, int options, char
php_stream_wrapper php_stream_php_wrapper = {
php_stream_url_wrap_php,
+ NULL,
NULL
};