Home
last modified time | relevance | path

Searched refs:CURLcode (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/curl/lib/
Dhttp.h58 CURLcode Curl_buffer_send(struct dynbuf *in,
67 CURLcode Curl_add_timecondition(struct Curl_easy *data,
74 CURLcode Curl_add_custom_headers(struct Curl_easy *data,
82 CURLcode Curl_http_compile_trailers(struct curl_slist *trailers,
88 CURLcode Curl_http_useragent(struct Curl_easy *data);
89 CURLcode Curl_http_host(struct Curl_easy *data, struct connectdata *conn);
90 CURLcode Curl_http_target(struct Curl_easy *data, struct connectdata *conn,
92 CURLcode Curl_http_statusline(struct Curl_easy *data,
94 CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn,
96 CURLcode Curl_transferencode(struct Curl_easy *data);
[all …]
Dpop3.c91 static CURLcode pop3_regular_transfer(struct Curl_easy *data, bool *done);
92 static CURLcode pop3_do(struct Curl_easy *data, bool *done);
93 static CURLcode pop3_done(struct Curl_easy *data, CURLcode status,
95 static CURLcode pop3_connect(struct Curl_easy *data, bool *done);
96 static CURLcode pop3_disconnect(struct Curl_easy *data,
98 static CURLcode pop3_multi_statemach(struct Curl_easy *data, bool *done);
101 static CURLcode pop3_doing(struct Curl_easy *data, bool *dophase_done);
102 static CURLcode pop3_setup_connection(struct Curl_easy *data,
104 static CURLcode pop3_parse_url_options(struct connectdata *conn);
105 static CURLcode pop3_parse_url_path(struct Curl_easy *data);
[all …]
Dsmtp.c94 static CURLcode smtp_regular_transfer(struct Curl_easy *data, bool *done);
95 static CURLcode smtp_do(struct Curl_easy *data, bool *done);
96 static CURLcode smtp_done(struct Curl_easy *data, CURLcode status,
98 static CURLcode smtp_connect(struct Curl_easy *data, bool *done);
99 static CURLcode smtp_disconnect(struct Curl_easy *data,
101 static CURLcode smtp_multi_statemach(struct Curl_easy *data, bool *done);
104 static CURLcode smtp_doing(struct Curl_easy *data, bool *dophase_done);
105 static CURLcode smtp_setup_connection(struct Curl_easy *data,
107 static CURLcode smtp_parse_url_options(struct connectdata *conn);
108 static CURLcode smtp_parse_url_path(struct Curl_easy *data);
[all …]
Dimap.c91 static CURLcode imap_regular_transfer(struct Curl_easy *data, bool *done);
92 static CURLcode imap_do(struct Curl_easy *data, bool *done);
93 static CURLcode imap_done(struct Curl_easy *data, CURLcode status,
95 static CURLcode imap_connect(struct Curl_easy *data, bool *done);
96 static CURLcode imap_disconnect(struct Curl_easy *data,
98 static CURLcode imap_multi_statemach(struct Curl_easy *data, bool *done);
101 static CURLcode imap_doing(struct Curl_easy *data, bool *dophase_done);
102 static CURLcode imap_setup_connection(struct Curl_easy *data,
105 static CURLcode imap_sendf(struct Curl_easy *data,
107 static CURLcode imap_parse_url_options(struct connectdata *conn);
[all …]
Durl.h30 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
31 CURLcode Curl_open(struct Curl_easy **curl);
32 CURLcode Curl_init_userdefined(struct Curl_easy *data);
35 CURLcode Curl_uc_to_curlcode(CURLUcode uc);
36 CURLcode Curl_close(struct Curl_easy **datap); /* opposite of curl_open() */
37 CURLcode Curl_connect(struct Curl_easy *, bool *async, bool *protocol_connect);
38 CURLcode Curl_disconnect(struct Curl_easy *data,
40 CURLcode Curl_setup_conn(struct Curl_easy *data,
43 CURLcode Curl_parse_login_details(const char *login, const size_t len,
50 CURLcode Curl_idnconvert_hostname(struct Curl_easy *data,
Dtransfer.h31 CURLcode Curl_pretransfer(struct Curl_easy *data);
32 CURLcode Curl_posttransfer(struct Curl_easy *data);
43 CURLcode Curl_follow(struct Curl_easy *data, char *newurl,
45 CURLcode Curl_readwrite(struct connectdata *conn,
50 CURLcode Curl_readrewind(struct Curl_easy *data);
51 CURLcode Curl_fillreadbuffer(struct Curl_easy *data, size_t bytes,
53 CURLcode Curl_retry_request(struct Curl_easy *data, char **url);
55 CURLcode Curl_get_upload_buffer(struct Curl_easy *data);
57 CURLcode Curl_done_sending(struct Curl_easy *data,
Dhostip.h144 CURLcode Curl_once_resolved(struct Curl_easy *data, bool *protocol_connect);
152 CURLcode Curl_addrinfo_callback(struct Curl_easy *data,
195 CURLcode Curl_set_dns_servers(struct Curl_easy *data, char *servers);
201 CURLcode Curl_set_dns_interface(struct Curl_easy *data,
208 CURLcode Curl_set_dns_local_ip4(struct Curl_easy *data,
215 CURLcode Curl_set_dns_local_ip6(struct Curl_easy *data,
226 CURLcode Curl_loadhostpairs(struct Curl_easy *data);
227 CURLcode Curl_resolv_check(struct Curl_easy *data,
232 CURLcode Curl_resolver_error(struct Curl_easy *data);
Dtftp.c147 static CURLcode tftp_rx(struct tftp_state_data *state, tftp_event_t event);
148 static CURLcode tftp_tx(struct tftp_state_data *state, tftp_event_t event);
149 static CURLcode tftp_connect(struct Curl_easy *data, bool *done);
150 static CURLcode tftp_disconnect(struct Curl_easy *data,
153 static CURLcode tftp_do(struct Curl_easy *data, bool *done);
154 static CURLcode tftp_done(struct Curl_easy *data,
155 CURLcode, bool premature);
156 static CURLcode tftp_setup_connection(struct Curl_easy *data,
158 static CURLcode tftp_multi_statemach(struct Curl_easy *data, bool *done);
159 static CURLcode tftp_doing(struct Curl_easy *data, bool *dophase_done);
[all …]
Dftp.c109 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,
[all …]
Dcurl_rtmp.c51 static CURLcode rtmp_setup_connection(struct Curl_easy *data,
53 static CURLcode rtmp_do(struct Curl_easy *data, bool *done);
54 static CURLcode rtmp_done(struct Curl_easy *data, CURLcode, bool premature);
55 static CURLcode rtmp_connect(struct Curl_easy *data, bool *done);
56 static CURLcode rtmp_disconnect(struct Curl_easy *data,
204 static CURLcode rtmp_setup_connection(struct Curl_easy *data, in rtmp_setup_connection()
221 static CURLcode rtmp_connect(struct Curl_easy *data, bool *done) in rtmp_connect()
256 static CURLcode rtmp_do(struct Curl_easy *data, bool *done) in rtmp_do()
274 static CURLcode rtmp_done(struct Curl_easy *data, CURLcode status, in rtmp_done()
284 static CURLcode rtmp_disconnect(struct Curl_easy *data, in rtmp_disconnect()
[all …]
Dsendf.h52 CURLcode Curl_client_write(struct Curl_easy *data, int type, char *ptr,
58 CURLcode Curl_read_plain(curl_socket_t sockfd,
64 size_t len, CURLcode *code);
66 const void *mem, size_t len, CURLcode *code);
69 CURLcode Curl_read(struct Curl_easy *data, curl_socket_t sockfd,
74 CURLcode Curl_write(struct Curl_easy *data,
80 CURLcode Curl_write_plain(struct Curl_easy *data,
Dhttp2.h41 CURLcode Curl_http2_init(struct connectdata *conn);
44 CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
46 CURLcode Curl_http2_setup(struct Curl_easy *data, struct connectdata *conn);
47 CURLcode Curl_http2_switched(struct Curl_easy *data,
53 CURLcode Curl_http2_done_sending(struct Curl_easy *data,
55 CURLcode Curl_http2_add_child(struct Curl_easy *parent,
61 CURLcode Curl_http2_stream_pause(struct Curl_easy *data, bool pause);
Dsmb.c57 static CURLcode smb_setup_connection(struct Curl_easy *data,
59 static CURLcode smb_connect(struct Curl_easy *data, bool *done);
60 static CURLcode smb_connection_state(struct Curl_easy *data, bool *done);
61 static CURLcode smb_do(struct Curl_easy *data, bool *done);
62 static CURLcode smb_request_state(struct Curl_easy *data, bool *done);
63 static CURLcode smb_disconnect(struct Curl_easy *data,
67 static CURLcode smb_parse_url_path(struct Curl_easy *data,
187 CURLcode result;
240 static CURLcode smb_setup_connection(struct Curl_easy *data, in smb_setup_connection()
254 static CURLcode smb_connect(struct Curl_easy *data, bool *done) in smb_connect()
[all …]
Dpingpong.h69 CURLcode (*statemachine)(struct Curl_easy *data, struct connectdata *conn);
87 CURLcode Curl_pp_statemach(struct Curl_easy *data, struct pingpong *pp,
112 CURLcode Curl_pp_sendf(struct Curl_easy *data,
126 CURLcode Curl_pp_vsendf(struct Curl_easy *data,
136 CURLcode Curl_pp_readresp(struct Curl_easy *data,
143 CURLcode Curl_pp_flushsend(struct Curl_easy *data,
147 CURLcode Curl_pp_disconnect(struct pingpong *pp);
Dcurl_ntlm_core.h70 CURLcode Curl_ntlm_core_mk_lm_hash(struct Curl_easy *data,
75 CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data,
81 CURLcode Curl_hmac_md5(const unsigned char *key, unsigned int keylen,
85 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen,
90 CURLcode Curl_ntlm_core_mk_ntlmv2_resp(unsigned char *ntlmv2hash,
96 CURLcode Curl_ntlm_core_mk_lmv2_resp(unsigned char *ntlmv2hash,
Dfile.c84 static CURLcode file_do(struct Curl_easy *data, bool *done);
85 static CURLcode file_done(struct Curl_easy *data,
86 CURLcode status, bool premature);
87 static CURLcode file_connect(struct Curl_easy *data, bool *done);
88 static CURLcode file_disconnect(struct Curl_easy *data,
91 static CURLcode file_setup_connection(struct Curl_easy *data,
122 static CURLcode file_setup_connection(struct Curl_easy *data, in file_setup_connection()
139 static CURLcode file_connect(struct Curl_easy *data, bool *done) in file_connect()
150 CURLcode result = Curl_urldecode(data, data->state.up.path, 0, &real_path, in file_connect()
213 static CURLcode file_done(struct Curl_easy *data, in file_done()
[all …]
Dmqtt.c62 static CURLcode mqtt_do(struct Curl_easy *data, bool *done);
63 static CURLcode mqtt_doing(struct Curl_easy *data, bool *done);
66 static CURLcode mqtt_setup_conn(struct Curl_easy *data,
96 static CURLcode mqtt_setup_conn(struct Curl_easy *data, in mqtt_setup_conn()
112 static CURLcode mqtt_send(struct Curl_easy *data, in mqtt_send()
115 CURLcode result = CURLE_OK; in mqtt_send()
245 static CURLcode mqtt_connect(struct Curl_easy *data) in mqtt_connect()
247 CURLcode result = CURLE_OK; in mqtt_connect()
344 static CURLcode mqtt_disconnect(struct Curl_easy *data) in mqtt_disconnect()
346 CURLcode result = CURLE_OK; in mqtt_disconnect()
[all …]
Deasy.c149 static CURLcode global_init(long flags, bool memoryfuncs) in global_init()
229 CURLcode curl_global_init(long flags) in curl_global_init()
231 CURLcode result; in curl_global_init()
245 CURLcode curl_global_init_mem(long flags, curl_malloc_callback m, in curl_global_init_mem()
249 CURLcode result; in curl_global_init_mem()
329 CURLcode result; in curl_easy_init()
527 static CURLcode wait_or_timeout(struct Curl_multi *multi, struct events *ev) in wait_or_timeout()
531 CURLcode result = CURLE_OK; in wait_or_timeout()
620 static CURLcode easy_events(struct Curl_multi *multi) in easy_events()
636 static CURLcode easy_transfer(struct Curl_multi *multi) in easy_transfer()
[all …]
/third_party/curl/lib/vauth/
Dvauth.h68 CURLcode Curl_auth_create_plain_message(const char *authzid,
74 CURLcode Curl_auth_create_login_message(const char *value,
78 CURLcode Curl_auth_create_external_message(const char *user,
83 CURLcode Curl_auth_create_cram_md5_message(const struct bufref *chlg,
92 CURLcode Curl_auth_create_digest_md5_message(struct Curl_easy *data,
100 CURLcode Curl_auth_decode_digest_http_message(const char *chlg,
104 CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
122 CURLcode Curl_auth_gsasl_start(struct Curl_easy *data,
128 CURLcode Curl_auth_gsasl_token(struct Curl_easy *data,
142 CURLcode Curl_auth_create_ntlm_type1_message(struct Curl_easy *data,
[all …]
/third_party/curl/lib/vtls/
Dvtls.h57 CURLcode (*random)(struct Curl_easy *data, unsigned char *entropy,
61 CURLcode (*connect_blocking)(struct Curl_easy *data,
63 CURLcode (*connect_nonblocking)(struct Curl_easy *data,
80 CURLcode (*set_engine)(struct Curl_easy *data, const char *engine);
81 CURLcode (*set_engine_default)(struct Curl_easy *data);
85 CURLcode (*sha256sum)(const unsigned char *input, size_t inputlen,
103 CURLcode Curl_none_random(struct Curl_easy *data, unsigned char *entropy,
109 CURLcode Curl_none_set_engine(struct Curl_easy *data, const char *engine);
110 CURLcode Curl_none_set_engine_default(struct Curl_easy *data);
192 CURLcode Curl_ssl_connect(struct Curl_easy *data, struct connectdata *conn,
[all …]
/third_party/curl/tests/data/
Dtest113536 CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name);
37 CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part,
38 CURL_EXTERN CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype);
39 CURL_EXTERN CURLcode curl_mime_encoder(curl_mimepart *part,
40 CURL_EXTERN CURLcode curl_mime_data(curl_mimepart *part,
41 CURL_EXTERN CURLcode curl_mime_filedata(curl_mimepart *part,
42 CURL_EXTERN CURLcode curl_mime_data_cb(curl_mimepart *part,
43 CURL_EXTERN CURLcode curl_mime_subparts(curl_mimepart *part,
44 CURL_EXTERN CURLcode curl_mime_headers(curl_mimepart *part,
55 CURL_EXTERN CURLcode curl_global_init(long flags);
[all …]
/third_party/curl/lib/vssh/
Dwolfssh.c48 static CURLcode wssh_connect(struct Curl_easy *data, bool *done);
49 static CURLcode wssh_multi_statemach(struct Curl_easy *data, bool *done);
50 static CURLcode wssh_do(struct Curl_easy *data, bool *done);
52 static CURLcode wscp_done(struct Curl_easy *data,
53 CURLcode, bool premature);
54 static CURLcode wscp_doing(struct Curl_easy *data,
56 static CURLcode wscp_disconnect(struct Curl_easy *data,
60 static CURLcode wsftp_done(struct Curl_easy *data,
61 CURLcode, bool premature);
62 static CURLcode wsftp_doing(struct Curl_easy *data,
[all …]
/third_party/curl/packages/OS400/
Dccsidcurl.h46 CURL_EXTERN const char *curl_easy_strerror_ccsid(CURLcode error,
52 CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL *curl, CURLINFO info, ...);
60 CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...);
68 CURL_EXTERN CURLcode curl_mime_name_ccsid(curl_mimepart *part,
71 CURL_EXTERN CURLcode curl_mime_filename_ccsid(curl_mimepart *part,
74 CURL_EXTERN CURLcode curl_mime_type_ccsid(curl_mimepart *part,
77 CURL_EXTERN CURLcode curl_mime_encoder_ccsid(curl_mimepart *part,
80 CURL_EXTERN CURLcode curl_mime_filedata_ccsid(curl_mimepart *part,
83 CURL_EXTERN CURLcode curl_mime_data_ccsid(curl_mimepart *part,
/third_party/curl/include/curl/
Deasy.h40 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
41 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl);
57 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
95 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen,
106 CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer,
117 CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl);
/third_party/curl/src/
Dtool_easysrc.h38 extern CURLcode easysrc_init(void);
39 extern CURLcode easysrc_add(struct slist_wc **plist, const char *bupf);
40 extern CURLcode easysrc_addf(struct slist_wc **plist,
42 extern CURLcode easysrc_perform(void);
43 extern CURLcode easysrc_cleanup(void);

12345678910>>...20