diff options
author | Wez Furlong <wez@php.net> | 2002-03-19 03:51:01 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-19 03:51:01 +0000 |
commit | 06712a508a82965acbfa9a59eb8a55df11948acd (patch) | |
tree | 8cba8bb62ef4d06050d68170c64a9814d10d856c /ext/standard/http_fopen_wrapper.c | |
parent | 9e14ed02550d21443dc2467d7c16d2d8b5f709bd (diff) | |
download | php-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/http_fopen_wrapper.c')
-rw-r--r-- | ext/standard/http_fopen_wrapper.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index aeaec330a8..06508b4c5a 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -71,7 +71,7 @@ #define HTTP_HEADER_BLOCK_SIZE 1024 -php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC) +php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char **opened_path, void *wrappercontext STREAMS_DC TSRMLS_DC) { php_stream *stream = NULL; php_url *resource = NULL; @@ -268,7 +268,7 @@ php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char * else { strlcpy(new_path, location, sizeof(new_path)); } - stream = php_stream_url_wrap_http(new_path, mode, options, opened_path STREAMS_CC TSRMLS_CC); + stream = php_stream_url_wrap_http(new_path, mode, options, opened_path, NULL STREAMS_CC TSRMLS_CC); if (stream->wrapperdata) { entryp = &entry; MAKE_STD_ZVAL(entry); @@ -311,6 +311,7 @@ out: php_stream_wrapper php_stream_http_wrapper = { php_stream_url_wrap_http, + NULL, NULL }; |