Lines Matching refs:wrapper
94 static int php_stream_ftp_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_s… in php_stream_ftp_stream_stat() argument
104 static int php_stream_ftp_stream_close(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC) in php_stream_ftp_stream_close() argument
133 static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, char *path, char *mode, int o… in php_ftp_fopen_connect() argument
207 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode"); in php_ftp_fopen_connect()
238 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, err_msg, val); \ in php_ftp_fopen_connect()
413 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char *mode, int optio… in php_stream_url_wrap_ftp() argument
437 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous read/w… in php_stream_url_wrap_ftp()
448 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unknown file open mode"); in php_stream_url_wrap_ftp()
456 …return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC TSRM… in php_stream_url_wrap_ftp()
459 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP proxy may only be used in read mode"… in php_stream_url_wrap_ftp()
464 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_url_wrap_ftp()
511 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Remote file already exists and overwrite… in php_stream_url_wrap_ftp()
535 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to resume from offset %ld", Z_LVA… in php_stream_url_wrap_ftp()
579 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode"); in php_stream_url_wrap_ftp()
600 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
694 php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, char *mode, int option… in php_stream_ftp_opendir() argument
706 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_ftp_opendir()
751 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode"); in php_stream_ftp_opendir()
775 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
783 static int php_stream_ftp_url_stat(php_stream_wrapper *wrapper, char *url, int flags, php_stream_st… in php_stream_ftp_url_stat() argument
793 …stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, context, NULL, &resource, NULL, NULL TS… in php_stream_ftp_url_stat()
906 static int php_stream_ftp_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_co… in php_stream_ftp_unlink() argument
913 …stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRML… in php_stream_ftp_unlink()
956 static int php_stream_ftp_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int opt… in php_stream_ftp_rename() argument
984 …stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, NULL, NULL, NULL, NULL, NULL TSRML… in php_stream_ftp_rename()
1035 static int php_stream_ftp_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_… in php_stream_ftp_mkdir() argument
1042 …stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRML… in php_stream_ftp_mkdir()
1129 static int php_stream_ftp_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_con… in php_stream_ftp_rmdir() argument
1136 …stream = php_ftp_fopen_connect(wrapper, url, "r", 0, NULL, NULL, NULL, &resource, NULL, NULL TSRML… in php_stream_ftp_rmdir()