10#if defined(HAVE_FTP_SSL)
52#define arginfo_ftp_rmdir arginfo_ftp_chdir
77#define arginfo_ftp_mlsd arginfo_ftp_nlist
79#define arginfo_ftp_systype arginfo_ftp_pwd
166#define arginfo_ftp_mdtm arginfo_ftp_size
179#define arginfo_ftp_site arginfo_ftp_exec
181#define arginfo_ftp_close arginfo_ftp_cdup
183#define arginfo_ftp_quit arginfo_ftp_cdup
197#if defined(HAVE_FTP_SSL)
236#if defined(HAVE_FTP_SSL)
276static void register_ftp_symbols(
int module_number)
291 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"ftp_login",
sizeof(
"ftp_login") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
int ftp_delete(ftpbuf_t *ftp, const char *path, const size_t path_len)
int ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_t dest_len)
int ftp_append(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t type)
time_t ftp_mdtm(ftpbuf_t *ftp, const char *path, const size_t path_len)
int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t type, zend_long resumepos)
int ftp_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t type, zend_long startpos)
int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t type, zend_long resumepos)
zend_string * ftp_mkdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len)
int ftp_cdup(ftpbuf_t *ftp)
int ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len)
char ** ftp_nlist(ftpbuf_t *ftp, const char *path, const size_t path_len)
char ** ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len)
ftpbuf_t * ftp_close(ftpbuf_t *ftp)
int ftp_login(ftpbuf_t *ftp, const char *user, const size_t user_len, const char *pass, const size_t pass_len)
int ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len)
int ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len)
int ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response)
const char * ftp_pwd(ftpbuf_t *ftp)
int ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len)
int ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len)
int ftp_nb_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t type, zend_long startpos)
void ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value)
int ftp_pasv(ftpbuf_t *ftp, int pasv)
zend_long ftp_size(ftpbuf_t *ftp, const char *path, const size_t path_len)
ftp_connect(string $hostname, int $port=21, int $timeout=90)
ftp_nb_fget(FTP\Connection $ftp, $stream, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
ftp_set_option(FTP\Connection $ftp, int $option, $value)
ftp_get_option(FTP\Connection $ftp, int $option)
ftp_fget(FTP\Connection $ftp, $stream, string $remote_filename, int $mode=FTP_BINARY, int $offset=0)
ftp_ssl_connect(string $hostname, int $port=21, int $timeout=90)
ftp_rawlist(FTP\Connection $ftp, string $directory, bool $recursive=false)
ftp_nb_fput(FTP\Connection $ftp, string $remote_filename, $stream, int $mode=FTP_BINARY, int $offset=0)
ftp_systype(FTP\Connection $ftp)
ftp_fput(FTP\Connection $ftp, string $remote_filename, $stream, int $mode=FTP_BINARY, int $offset=0)
ftp_nb_continue(FTP\Connection $ftp)
#define arginfo_ftp_close
#define arginfo_ftp_systype
#define arginfo_ftp_rmdir
#define PHP_FTP_AUTORESUME
#define PHP_FTP_OPT_USEPASVADDRESS
#define PHP_FTP_OPT_AUTOSEEK
#define PHP_FTP_OPT_TIMEOUT_SEC
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_FE(name, arg_info)
#define ZEND_FUNCTION(name)
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
#define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, functions)
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_NOT_SERIALIZABLE
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_class_entry zend_class_entry