• Home
  • Raw
  • Download

Lines Matching refs:CURLcode

109 static CURLcode ftp_sendquote(struct Curl_easy *data,
112 static CURLcode ftp_quit(struct Curl_easy *data, struct connectdata *conn);
113 static CURLcode ftp_parse_url_path(struct Curl_easy *data);
114 static CURLcode ftp_regular_transfer(struct Curl_easy *data, bool *done);
121 static CURLcode ftp_state_prepare_transfer(struct Curl_easy *data);
122 static CURLcode ftp_state_mdtm(struct Curl_easy *data);
123 static CURLcode ftp_state_quote(struct Curl_easy *data,
125 static CURLcode ftp_nb_type(struct Curl_easy *data,
130 static CURLcode ftp_do(struct Curl_easy *data, bool *done);
131 static CURLcode ftp_done(struct Curl_easy *data,
132 CURLcode, bool premature);
133 static CURLcode ftp_connect(struct Curl_easy *data, bool *done);
134 static CURLcode ftp_disconnect(struct Curl_easy *data,
136 static CURLcode ftp_do_more(struct Curl_easy *data, int *completed);
137 static CURLcode ftp_multi_statemach(struct Curl_easy *data, bool *done);
142 static CURLcode ftp_doing(struct Curl_easy *data,
144 static CURLcode ftp_setup_connection(struct Curl_easy *data,
146 static CURLcode init_wc_data(struct Curl_easy *data);
147 static CURLcode wc_statemach(struct Curl_easy *data);
149 static CURLcode ftp_state_retr(struct Curl_easy *data, curl_off_t filesize);
150 static CURLcode ftp_readresp(struct Curl_easy *data,
155 static CURLcode ftp_dophase_done(struct Curl_easy *data,
269 static CURLcode AcceptServerConnect(struct Curl_easy *data) in AcceptServerConnect()
368 static CURLcode ReceivedServerConnect(struct Curl_easy *data, bool *received) in ReceivedServerConnect()
439 static CURLcode InitiateTransfer(struct Curl_easy *data) in InitiateTransfer()
441 CURLcode result = CURLE_OK; in InitiateTransfer()
484 static CURLcode AllowServerConnect(struct Curl_easy *data, bool *connected) in AllowServerConnect()
487 CURLcode result = CURLE_OK; in AllowServerConnect()
549 static CURLcode ftp_readresp(struct Curl_easy *data, in ftp_readresp()
556 CURLcode result = Curl_pp_readresp(data, sockfd, pp, &code, size); in ftp_readresp()
611 CURLcode Curl_GetFTPResponse(struct Curl_easy *data, in Curl_GetFTPResponse()
624 CURLcode result = CURLE_OK; in Curl_GetFTPResponse()
780 static CURLcode ftp_state_user(struct Curl_easy *data, in ftp_state_user()
783 CURLcode result = Curl_pp_sendf(data, in ftp_state_user()
793 static CURLcode ftp_state_pwd(struct Curl_easy *data, in ftp_state_pwd()
796 CURLcode result = Curl_pp_sendf(data, &conn->proto.ftpc.pp, "%s", "PWD"); in ftp_state_pwd()
863 static CURLcode ftp_state_cwd(struct Curl_easy *data, in ftp_state_cwd()
866 CURLcode result = CURLE_OK; in ftp_state_cwd()
921 static CURLcode ftp_state_use_port(struct Curl_easy *data, in ftp_state_use_port()
924 CURLcode result = CURLE_OK; in ftp_state_use_port()
1309 static CURLcode ftp_state_use_pasv(struct Curl_easy *data, in ftp_state_use_pasv()
1313 CURLcode result = CURLE_OK; in ftp_state_use_pasv()
1356 static CURLcode ftp_state_prepare_transfer(struct Curl_easy *data) in ftp_state_prepare_transfer()
1358 CURLcode result = CURLE_OK; in ftp_state_prepare_transfer()
1399 static CURLcode ftp_state_rest(struct Curl_easy *data, in ftp_state_rest()
1402 CURLcode result = CURLE_OK; in ftp_state_rest()
1421 static CURLcode ftp_state_size(struct Curl_easy *data, in ftp_state_size()
1424 CURLcode result = CURLE_OK; in ftp_state_size()
1442 static CURLcode ftp_state_list(struct Curl_easy *data) in ftp_state_list()
1444 CURLcode result = CURLE_OK; in ftp_state_list()
1507 static CURLcode ftp_state_retr_prequote(struct Curl_easy *data) in ftp_state_retr_prequote()
1513 static CURLcode ftp_state_stor_prequote(struct Curl_easy *data) in ftp_state_stor_prequote()
1519 static CURLcode ftp_state_type(struct Curl_easy *data) in ftp_state_type()
1521 CURLcode result = CURLE_OK; in ftp_state_type()
1552 static CURLcode ftp_state_mdtm(struct Curl_easy *data) in ftp_state_mdtm()
1554 CURLcode result = CURLE_OK; in ftp_state_mdtm()
1576 static CURLcode ftp_state_ul_setup(struct Curl_easy *data, in ftp_state_ul_setup()
1579 CURLcode result = CURLE_OK; in ftp_state_ul_setup()
1675 static CURLcode ftp_state_quote(struct Curl_easy *data, in ftp_state_quote()
1679 CURLcode result = CURLE_OK; in ftp_state_quote()
1790 static CURLcode ftp_epsv_disable(struct Curl_easy *data, in ftp_epsv_disable()
1793 CURLcode result = CURLE_OK; in ftp_epsv_disable()
1833 static CURLcode ftp_state_pasv_resp(struct Curl_easy *data, in ftp_state_pasv_resp()
1838 CURLcode result; in ftp_state_pasv_resp()
2033 static CURLcode ftp_state_port_resp(struct Curl_easy *data, in ftp_state_port_resp()
2039 CURLcode result = CURLE_OK; in ftp_state_port_resp()
2069 static CURLcode ftp_state_mdtm_resp(struct Curl_easy *data, in ftp_state_mdtm_resp()
2072 CURLcode result = CURLE_OK; in ftp_state_mdtm_resp()
2174 static CURLcode ftp_state_type_resp(struct Curl_easy *data, in ftp_state_type_resp()
2178 CURLcode result = CURLE_OK; in ftp_state_type_resp()
2204 static CURLcode ftp_state_retr(struct Curl_easy *data, in ftp_state_retr()
2207 CURLcode result = CURLE_OK; in ftp_state_retr()
2287 static CURLcode ftp_state_size_resp(struct Curl_easy *data, in ftp_state_size_resp()
2291 CURLcode result = CURLE_OK; in ftp_state_size_resp()
2350 static CURLcode ftp_state_rest_resp(struct Curl_easy *data, in ftp_state_rest_resp()
2355 CURLcode result = CURLE_OK; in ftp_state_rest_resp()
2389 static CURLcode ftp_state_stor_resp(struct Curl_easy *data, in ftp_state_stor_resp()
2392 CURLcode result = CURLE_OK; in ftp_state_stor_resp()
2426 static CURLcode ftp_state_get_resp(struct Curl_easy *data, in ftp_state_get_resp()
2430 CURLcode result = CURLE_OK; in ftp_state_get_resp()
2555 static CURLcode ftp_state_loggedin(struct Curl_easy *data) in ftp_state_loggedin()
2557 CURLcode result = CURLE_OK; in ftp_state_loggedin()
2586 static CURLcode ftp_state_user_resp(struct Curl_easy *data, in ftp_state_user_resp()
2590 CURLcode result = CURLE_OK; in ftp_state_user_resp()
2647 static CURLcode ftp_state_acct_resp(struct Curl_easy *data, in ftp_state_acct_resp()
2650 CURLcode result = CURLE_OK; in ftp_state_acct_resp()
2662 static CURLcode ftp_statemachine(struct Curl_easy *data, in ftp_statemachine()
2665 CURLcode result; in ftp_statemachine()
3106 static CURLcode ftp_multi_statemach(struct Curl_easy *data, in ftp_multi_statemach()
3111 CURLcode result = Curl_pp_statemach(data, &ftpc->pp, FALSE, FALSE); in ftp_multi_statemach()
3121 static CURLcode ftp_block_statemach(struct Curl_easy *data, in ftp_block_statemach()
3126 CURLcode result = CURLE_OK; in ftp_block_statemach()
3145 static CURLcode ftp_connect(struct Curl_easy *data, in ftp_connect()
3148 CURLcode result; in ftp_connect()
3189 static CURLcode ftp_done(struct Curl_easy *data, CURLcode status, in ftp_done()
3198 CURLcode result = CURLE_OK; in ftp_done()
3431 CURLcode ftp_sendquote(struct Curl_easy *data, in ftp_sendquote()
3444 CURLcode result; in ftp_sendquote()
3497 static CURLcode ftp_nb_type(struct Curl_easy *data, in ftp_nb_type()
3502 CURLcode result; in ftp_nb_type()
3553 static CURLcode ftp_do_more(struct Curl_easy *data, int *completep) in ftp_do_more()
3557 CURLcode result = CURLE_OK; in ftp_do_more()
3723 CURLcode ftp_perform(struct Curl_easy *data, in ftp_perform()
3728 CURLcode result = CURLE_OK; in ftp_perform()
3767 static CURLcode init_wc_data(struct Curl_easy *data) in init_wc_data()
3773 CURLcode result = CURLE_OK; in init_wc_data()
3862 static CURLcode wc_statemach(struct Curl_easy *data) in wc_statemach()
3866 CURLcode result = CURLE_OK; in wc_statemach()
3999 static CURLcode ftp_do(struct Curl_easy *data, bool *done) in ftp_do()
4001 CURLcode result = CURLE_OK; in ftp_do()
4039 static CURLcode ftp_quit(struct Curl_easy *data, struct connectdata *conn) in ftp_quit()
4041 CURLcode result = CURLE_OK; in ftp_quit()
4069 static CURLcode ftp_disconnect(struct Curl_easy *data, in ftp_disconnect()
4114 CURLcode ftp_parse_url_path(struct Curl_easy *data) in ftp_parse_url_path()
4122 CURLcode result = CURLE_OK; in ftp_parse_url_path()
4260 static CURLcode ftp_dophase_done(struct Curl_easy *data, bool connected) in ftp_dophase_done()
4268 CURLcode result = ftp_do_more(data, &completed); in ftp_dophase_done()
4289 static CURLcode ftp_doing(struct Curl_easy *data, in ftp_doing()
4292 CURLcode result = ftp_multi_statemach(data, dophase_done); in ftp_doing()
4317 CURLcode ftp_regular_transfer(struct Curl_easy *data, in ftp_regular_transfer()
4320 CURLcode result = CURLE_OK; in ftp_regular_transfer()
4354 static CURLcode ftp_setup_connection(struct Curl_easy *data, in ftp_setup_connection()