Lines Matching refs:ftpbuf_t
85 static int ftp_putcmd( ftpbuf_t *ftp,
90 static int my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
91 static int my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
92 static int my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen);
95 static int ftp_readline(ftpbuf_t *ftp);
98 static int ftp_getresp(ftpbuf_t *ftp);
101 static int ftp_type(ftpbuf_t *ftp, ftptype_t type);
104 static databuf_t* ftp_getdata(ftpbuf_t *ftp);
107 static databuf_t* data_accept(databuf_t *data, ftpbuf_t *ftp);
110 static databuf_t* data_close(ftpbuf_t *ftp, databuf_t *data);
113 static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path);
117 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle);
129 ftpbuf_t*
132 ftpbuf_t *ftp; in ftp_open()
178 ftpbuf_t*
179 ftp_close(ftpbuf_t *ftp) in ftp_close()
207 ftp_gc(ftpbuf_t *ftp) in ftp_gc()
226 ftp_quit(ftpbuf_t *ftp) in ftp_quit()
251 ftp_login(ftpbuf_t *ftp, const char *user, const char *pass) in ftp_login()
399 ftp_reinit(ftpbuf_t *ftp) in ftp_reinit()
423 ftp_syst(ftpbuf_t *ftp) in ftp_syst()
459 ftp_pwd(ftpbuf_t *ftp) in ftp_pwd()
493 ftp_exec(ftpbuf_t *ftp, const char *cmd) in ftp_exec()
512 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) in ftp_raw()
533 ftp_chdir(ftpbuf_t *ftp, const char *dir) in ftp_chdir()
557 ftp_cdup(ftpbuf_t *ftp) in ftp_cdup()
581 ftp_mkdir(ftpbuf_t *ftp, const char *dir) in ftp_mkdir()
613 ftp_rmdir(ftpbuf_t *ftp, const char *dir) in ftp_rmdir()
631 ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len) in ftp_chmod()
659 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc()
692 ftp_nlist(ftpbuf_t *ftp, const char *path) in ftp_nlist()
701 ftp_list(ftpbuf_t *ftp, const char *path, int recursive) in ftp_list()
710 ftp_type(ftpbuf_t *ftp, ftptype_t type) in ftp_type()
742 ftp_pasv(ftpbuf_t *ftp, int pasv) in ftp_pasv()
836 ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, zend_long resumepos) in ftp_get()
928 ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, zend_long startpos) in ftp_put()
1006 ftp_size(ftpbuf_t *ftp, const char *path) in ftp_size()
1027 ftp_mdtm(ftpbuf_t *ftp, const char *path) in ftp_mdtm()
1075 ftp_delete(ftpbuf_t *ftp, const char *path) in ftp_delete()
1094 ftp_rename(ftpbuf_t *ftp, const char *src, const char *dest) in ftp_rename()
1118 ftp_site(ftpbuf_t *ftp, const char *cmd) in ftp_site()
1139 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) in ftp_putcmd()
1180 ftp_readline(ftpbuf_t *ftp) in ftp_readline()
1232 ftp_getresp(ftpbuf_t *ftp) in ftp_getresp()
1270 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send()
1364 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv()
1445 data_available(ftpbuf_t *ftp, php_socket_t s) in data_available()
1469 data_writeable(ftpbuf_t *ftp, php_socket_t s) in data_writeable()
1494 my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen) in my_accept()
1519 ftp_getdata(ftpbuf_t *ftp) in ftp_getdata()
1641 data_accept(databuf_t *data, ftpbuf_t *ftp) in data_accept()
1754 static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle) { in ftp_ssl_shutdown()
1812 data_close(ftpbuf_t *ftp, databuf_t *data) in data_close()
1851 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path) in ftp_genlist()
1956 ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, zend_long resume… in ftp_nb_get()
2010 ftp_nb_continue_read(ftpbuf_t *ftp) in ftp_nb_continue_read()
2073 ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, zend_long startpo… in ftp_nb_put()
2123 ftp_nb_continue_write(ftpbuf_t *ftp) in ftp_nb_continue_write()