Lines Matching refs:CURLcode
109 static CURLcode ftp_sendquote(struct connectdata *conn,
111 static CURLcode ftp_quit(struct connectdata *conn);
112 static CURLcode ftp_parse_url_path(struct connectdata *conn);
113 static CURLcode ftp_regular_transfer(struct connectdata *conn, bool *done);
120 static CURLcode ftp_state_prepare_transfer(struct connectdata *conn);
121 static CURLcode ftp_state_mdtm(struct connectdata *conn);
122 static CURLcode ftp_state_quote(struct connectdata *conn,
124 static CURLcode ftp_nb_type(struct connectdata *conn,
128 static CURLcode ftp_do(struct connectdata *conn, bool *done);
129 static CURLcode ftp_done(struct connectdata *conn,
130 CURLcode, bool premature);
131 static CURLcode ftp_connect(struct connectdata *conn, bool *done);
132 static CURLcode ftp_disconnect(struct connectdata *conn, bool dead_connection);
133 static CURLcode ftp_do_more(struct connectdata *conn, int *completed);
134 static CURLcode ftp_multi_statemach(struct connectdata *conn, bool *done);
139 static CURLcode ftp_doing(struct connectdata *conn,
141 static CURLcode ftp_setup_connection(struct connectdata * conn);
143 static CURLcode init_wc_data(struct connectdata *conn);
144 static CURLcode wc_statemach(struct connectdata *conn);
148 static CURLcode ftp_state_retr(struct connectdata *conn, curl_off_t filesize);
150 static CURLcode ftp_readresp(curl_socket_t sockfd,
154 static CURLcode ftp_dophase_done(struct connectdata *conn,
278 static CURLcode AcceptServerConnect(struct connectdata *conn) in AcceptServerConnect()
377 static CURLcode ReceivedServerConnect(struct connectdata *conn, bool *received) in ReceivedServerConnect()
448 static CURLcode InitiateTransfer(struct connectdata *conn) in InitiateTransfer()
451 CURLcode result = CURLE_OK; in InitiateTransfer()
493 static CURLcode AllowServerConnect(struct connectdata *conn, bool *connected) in AllowServerConnect()
497 CURLcode result = CURLE_OK; in AllowServerConnect()
558 static CURLcode ftp_readresp(curl_socket_t sockfd, in ftp_readresp()
568 CURLcode result = CURLE_OK; in ftp_readresp()
622 CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */ in Curl_GetFTPResponse()
635 CURLcode result = CURLE_OK; in Curl_GetFTPResponse()
790 static CURLcode ftp_state_user(struct connectdata *conn) in ftp_state_user()
792 CURLcode result; in ftp_state_user()
803 static CURLcode ftp_state_pwd(struct connectdata *conn) in ftp_state_pwd()
805 CURLcode result; in ftp_state_pwd()
871 static CURLcode ftp_state_cwd(struct connectdata *conn) in ftp_state_cwd()
873 CURLcode result = CURLE_OK; in ftp_state_cwd()
922 static CURLcode ftp_state_use_port(struct connectdata *conn, in ftp_state_use_port()
926 CURLcode result = CURLE_OK; in ftp_state_use_port()
1307 static CURLcode ftp_state_use_pasv(struct connectdata *conn) in ftp_state_use_pasv()
1310 CURLcode result = CURLE_OK; in ftp_state_use_pasv()
1353 static CURLcode ftp_state_prepare_transfer(struct connectdata *conn) in ftp_state_prepare_transfer()
1355 CURLcode result = CURLE_OK; in ftp_state_prepare_transfer()
1396 static CURLcode ftp_state_rest(struct connectdata *conn) in ftp_state_rest()
1398 CURLcode result = CURLE_OK; in ftp_state_rest()
1417 static CURLcode ftp_state_size(struct connectdata *conn) in ftp_state_size()
1419 CURLcode result = CURLE_OK; in ftp_state_size()
1437 static CURLcode ftp_state_list(struct connectdata *conn) in ftp_state_list()
1439 CURLcode result = CURLE_OK; in ftp_state_list()
1501 static CURLcode ftp_state_retr_prequote(struct connectdata *conn) in ftp_state_retr_prequote()
1503 CURLcode result = CURLE_OK; in ftp_state_retr_prequote()
1512 static CURLcode ftp_state_stor_prequote(struct connectdata *conn) in ftp_state_stor_prequote()
1514 CURLcode result = CURLE_OK; in ftp_state_stor_prequote()
1523 static CURLcode ftp_state_type(struct connectdata *conn) in ftp_state_type()
1525 CURLcode result = CURLE_OK; in ftp_state_type()
1556 static CURLcode ftp_state_mdtm(struct connectdata *conn) in ftp_state_mdtm()
1558 CURLcode result = CURLE_OK; in ftp_state_mdtm()
1579 static CURLcode ftp_state_ul_setup(struct connectdata *conn, in ftp_state_ul_setup()
1582 CURLcode result = CURLE_OK; in ftp_state_ul_setup()
1676 static CURLcode ftp_state_quote(struct connectdata *conn, in ftp_state_quote()
1680 CURLcode result = CURLE_OK; in ftp_state_quote()
1781 static CURLcode ftp_epsv_disable(struct connectdata *conn) in ftp_epsv_disable()
1783 CURLcode result = CURLE_OK; in ftp_epsv_disable()
1816 static CURLcode ftp_state_pasv_resp(struct connectdata *conn, in ftp_state_pasv_resp()
1820 CURLcode result; in ftp_state_pasv_resp()
2002 static CURLcode ftp_state_port_resp(struct connectdata *conn, in ftp_state_port_resp()
2008 CURLcode result = CURLE_OK; in ftp_state_port_resp()
2038 static CURLcode ftp_state_mdtm_resp(struct connectdata *conn, in ftp_state_mdtm_resp()
2041 CURLcode result = CURLE_OK; in ftp_state_mdtm_resp()
2143 static CURLcode ftp_state_type_resp(struct connectdata *conn, in ftp_state_type_resp()
2147 CURLcode result = CURLE_OK; in ftp_state_type_resp()
2173 static CURLcode ftp_state_retr(struct connectdata *conn, in ftp_state_retr()
2176 CURLcode result = CURLE_OK; in ftp_state_retr()
2255 static CURLcode ftp_state_size_resp(struct connectdata *conn, in ftp_state_size_resp()
2259 CURLcode result = CURLE_OK; in ftp_state_size_resp()
2295 static CURLcode ftp_state_rest_resp(struct connectdata *conn, in ftp_state_rest_resp()
2299 CURLcode result = CURLE_OK; in ftp_state_rest_resp()
2331 static CURLcode ftp_state_stor_resp(struct connectdata *conn, in ftp_state_stor_resp()
2334 CURLcode result = CURLE_OK; in ftp_state_stor_resp()
2368 static CURLcode ftp_state_get_resp(struct connectdata *conn, in ftp_state_get_resp()
2372 CURLcode result = CURLE_OK; in ftp_state_get_resp()
2496 static CURLcode ftp_state_loggedin(struct connectdata *conn) in ftp_state_loggedin()
2498 CURLcode result = CURLE_OK; in ftp_state_loggedin()
2525 static CURLcode ftp_state_user_resp(struct connectdata *conn, in ftp_state_user_resp()
2529 CURLcode result = CURLE_OK; in ftp_state_user_resp()
2581 static CURLcode ftp_state_acct_resp(struct connectdata *conn, in ftp_state_acct_resp()
2584 CURLcode result = CURLE_OK; in ftp_state_acct_resp()
2597 static CURLcode ftp_statemach_act(struct connectdata *conn) in ftp_statemach_act()
2599 CURLcode result; in ftp_statemach_act()
3047 static CURLcode ftp_multi_statemach(struct connectdata *conn, in ftp_multi_statemach()
3051 CURLcode result = Curl_pp_statemach(&ftpc->pp, FALSE, FALSE); in ftp_multi_statemach()
3061 static CURLcode ftp_block_statemach(struct connectdata *conn) in ftp_block_statemach()
3065 CURLcode result = CURLE_OK; in ftp_block_statemach()
3084 static CURLcode ftp_connect(struct connectdata *conn, in ftp_connect()
3087 CURLcode result; in ftp_connect()
3128 static CURLcode ftp_done(struct connectdata *conn, CURLcode status, in ftp_done()
3137 CURLcode result = CURLE_OK; in ftp_done()
3360 CURLcode ftp_sendquote(struct connectdata *conn, struct curl_slist *quote) in ftp_sendquote()
3365 CURLcode result; in ftp_sendquote()
3425 static CURLcode ftp_nb_type(struct connectdata *conn, in ftp_nb_type()
3429 CURLcode result; in ftp_nb_type()
3478 static CURLcode ftp_do_more(struct connectdata *conn, int *completep) in ftp_do_more()
3482 CURLcode result = CURLE_OK; in ftp_do_more()
3648 CURLcode ftp_perform(struct connectdata *conn, in ftp_perform()
3653 CURLcode result = CURLE_OK; in ftp_perform()
3691 static CURLcode init_wc_data(struct connectdata *conn) in init_wc_data()
3697 CURLcode result = CURLE_OK; in init_wc_data()
3787 static CURLcode wc_statemach(struct connectdata *conn) in wc_statemach()
3790 CURLcode result = CURLE_OK; in wc_statemach()
3920 static CURLcode ftp_do(struct connectdata *conn, bool *done) in ftp_do()
3922 CURLcode result = CURLE_OK; in ftp_do()
3950 CURLcode Curl_ftpsend(struct connectdata *conn, const char *cmd) in Curl_ftpsend()
3957 CURLcode result = CURLE_OK; in Curl_ftpsend()
4017 static CURLcode ftp_quit(struct connectdata *conn) in ftp_quit()
4019 CURLcode result = CURLE_OK; in ftp_quit()
4047 static CURLcode ftp_disconnect(struct connectdata *conn, bool dead_connection) in ftp_disconnect()
4097 CURLcode ftp_parse_url_path(struct connectdata *conn) in ftp_parse_url_path()
4148 CURLcode result; in ftp_parse_url_path()
4199 CURLcode result = in ftp_parse_url_path()
4241 CURLcode result = in ftp_parse_url_path()
4266 CURLcode result = in ftp_parse_url_path()
4287 static CURLcode ftp_dophase_done(struct connectdata *conn, in ftp_dophase_done()
4295 CURLcode result = ftp_do_more(conn, &completed); in ftp_dophase_done()
4316 static CURLcode ftp_doing(struct connectdata *conn, in ftp_doing()
4319 CURLcode result = ftp_multi_statemach(conn, dophase_done); in ftp_doing()
4344 CURLcode ftp_regular_transfer(struct connectdata *conn, in ftp_regular_transfer()
4347 CURLcode result = CURLE_OK; in ftp_regular_transfer()
4381 static CURLcode ftp_setup_connection(struct connectdata *conn) in ftp_setup_connection()