Lines Matching refs:wrapper
88 static int php_stream_ftp_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_s… in php_stream_ftp_stream_stat() argument
97 static int php_stream_ftp_stream_close(php_stream_wrapper *wrapper, php_stream *stream) in php_stream_ftp_stream_close() argument
125 static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, const char *path, const char … in php_ftp_fopen_connect() argument
182 php_stream_wrapper_log_error(wrapper, options, "Server doesn't support FTPS."); in php_ftp_fopen_connect()
201 php_stream_wrapper_log_error(wrapper, options, "Unable to activate SSL mode"); in php_ftp_fopen_connect()
232 php_stream_wrapper_log_error(wrapper, options, err_msg, val); \ in php_ftp_fopen_connect()
403 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mod… in php_stream_url_wrap_ftp() argument
429 …php_stream_wrapper_log_error(wrapper, options, "FTP does not support simultaneous read/write conne… in php_stream_url_wrap_ftp()
440 php_stream_wrapper_log_error(wrapper, options, "Unknown file open mode"); in php_stream_url_wrap_ftp()
448 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC); in php_stream_url_wrap_ftp()
451 php_stream_wrapper_log_error(wrapper, options, "FTP proxy may only be used in read mode"); in php_stream_url_wrap_ftp()
456 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_url_wrap_ftp()
503 …php_stream_wrapper_log_error(wrapper, options, "Remote file already exists and overwrite context o… in php_stream_url_wrap_ftp()
527 …php_stream_wrapper_log_error(wrapper, options, "Unable to resume from offset " ZEND_LONG_FMT, Z_LV… in php_stream_url_wrap_ftp()
572 php_stream_wrapper_log_error(wrapper, options, "Unable to activate SSL mode"); in php_stream_url_wrap_ftp()
594 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
597 …php_stream_wrapper_log_error(wrapper, options, "Failed to set up data channel: %s", ZSTR_VAL(error… in php_stream_url_wrap_ftp()
681 php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, const char *path, const char *mode… in php_stream_ftp_opendir() argument
694 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_ftp_opendir()
742 php_stream_wrapper_log_error(wrapper, options, "Unable to activate SSL mode"); in php_stream_ftp_opendir()
766 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
773 static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_str… in php_stream_ftp_url_stat() argument
783 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL); in php_stream_ftp_url_stat()
895 static int php_stream_ftp_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_str… in php_stream_ftp_unlink() argument
902 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL); in php_stream_ftp_unlink()
944 static int php_stream_ftp_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url… in php_stream_ftp_rename() argument
972 stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, context, NULL, NULL, NULL, NULL); in php_stream_ftp_rename()
1022 static int php_stream_ftp_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options… in php_stream_ftp_mkdir() argument
1029 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL); in php_stream_ftp_mkdir()
1114 static int php_stream_ftp_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stre… in php_stream_ftp_rmdir() argument
1121 stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL); in php_stream_ftp_rmdir()