]> granicus.if.org Git - php/commitdiff
Fix declarations (Thanks Sebastian)
authorWez Furlong <wez@php.net>
Thu, 11 Apr 2002 12:13:17 +0000 (12:13 +0000)
committerWez Furlong <wez@php.net>
Thu, 11 Apr 2002 12:13:17 +0000 (12:13 +0000)
ext/standard/php_fopen_wrapper.c
main/user_streams.c

index fcca4fce2dc0b13470e7ae364dea9fa1fd3dd19e..6249aeae984349fea322863a5526ad04a347a8aa 100644 (file)
@@ -30,7 +30,7 @@
 #include "php_standard.h"
 #include "php_fopen_wrappers.h"
 
-php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC)
+php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
 {
        FILE * fp = NULL;
        php_stream * stream = NULL;
index 7f9a2c2701a9d8c357e56f58f85d05e8ae0655f0..faa68bcb895f81983f4ad27b55159cf04133253e 100644 (file)
@@ -29,7 +29,7 @@ struct php_user_stream_wrapper {
        php_stream_wrapper wrapper;
 };
 
-static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC);
+static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
 
 static php_stream_wrapper_ops user_stream_wops = {
        user_wrapper_opener,
@@ -115,7 +115,7 @@ function stream_open($path, $mode, $options, &$opened_path)
    
  * */
 
-static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC)
+static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
 {
        struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract;
        php_userstream_data_t *us;