Lines Matching refs:ftpbuf_t
71 static int ftp_putcmd( ftpbuf_t *ftp,
78 static int my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
79 static int my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
80 static int my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen);
83 static int ftp_readline(ftpbuf_t *ftp);
86 static int ftp_getresp(ftpbuf_t *ftp);
89 static int ftp_type(ftpbuf_t *ftp, ftptype_t type);
92 static databuf_t* ftp_getdata(ftpbuf_t *ftp);
95 static databuf_t* data_accept(databuf_t *data, ftpbuf_t *ftp);
98 static databuf_t* data_close(ftpbuf_t *ftp, databuf_t *data);
101 static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *path, …
105 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle);
116 ftpbuf_t*
119 ftpbuf_t *ftp; in ftp_open()
164 ftpbuf_t*
165 ftp_close(ftpbuf_t *ftp) in ftp_close()
197 ftp_gc(ftpbuf_t *ftp) in ftp_gc()
215 ftp_quit(ftpbuf_t *ftp) in ftp_quit()
240 ftpbuf_t *ftp = SSL_get_app_data(ssl); in ftp_ssl_new_session_cb()
255 ftp_login(ftpbuf_t *ftp, const char *user, const size_t user_len, const char *pass, const size_t pa… in ftp_login()
406 ftp_reinit(ftpbuf_t *ftp) in ftp_reinit()
429 ftp_syst(ftpbuf_t *ftp) in ftp_syst()
464 ftp_pwd(ftpbuf_t *ftp) in ftp_pwd()
497 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec()
515 ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value) in ftp_raw()
535 ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_chdir()
558 ftp_cdup(ftpbuf_t *ftp) in ftp_cdup()
581 ftp_mkdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_mkdir()
612 ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_rmdir()
629 ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) in ftp_chmod()
661 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc()
698 ftp_nlist(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_nlist()
706 ftp_list(ftpbuf_t *ftp, const char *path, const size_t path_len, int recursive) in ftp_list()
714 ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_mlsd()
766 ftp_type(ftpbuf_t *ftp, ftptype_t type) in ftp_type()
797 ftp_pasv(ftpbuf_t *ftp, int pasv) in ftp_pasv()
890 ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t ty… in ftp_get()
985 ftp_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t typ… in ftp_put()
1067 ftp_append(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t … in ftp_append()
1133 ftp_size(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_size()
1153 ftp_mdtm(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_mdtm()
1200 ftp_delete(ftpbuf_t *ftp, const char *path, const size_t path_len) in ftp_delete()
1218 ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_t des… in ftp_rename()
1241 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site()
1261 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *args, const size_t arg… in ftp_putcmd()
1302 ftp_readline(ftpbuf_t *ftp) in ftp_readline()
1355 ftp_getresp(ftpbuf_t *ftp) in ftp_getresp()
1390 int single_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t size) { in single_send()
1450 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send()
1487 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv()
1566 data_available(ftpbuf_t *ftp, php_socket_t s) in data_available()
1589 data_writeable(ftpbuf_t *ftp, php_socket_t s) in data_writeable()
1613 my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen) in my_accept()
1637 ftp_getdata(ftpbuf_t *ftp) in ftp_getdata()
1767 data_accept(databuf_t *data, ftpbuf_t *ftp) in data_accept()
1880 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle) { in ftp_ssl_shutdown()
1943 data_close(ftpbuf_t *ftp, databuf_t *data) in data_close()
1978 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *path, const size_t pa… in ftp_genlist()
2082 ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t… in ftp_nb_get()
2148 ftp_nb_continue_read(ftpbuf_t *ftp) in ftp_nb_continue_read()
2210 ftp_nb_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_t … in ftp_nb_put()
2263 ftp_nb_continue_write(ftpbuf_t *ftp) in ftp_nb_continue_write()