Home
last modified time | relevance | path

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

12345678910>>...16

/external/curl/lib/
Dpop3.c90 static CURLcode pop3_regular_transfer(struct connectdata *conn, bool *done);
91 static CURLcode pop3_do(struct connectdata *conn, bool *done);
92 static CURLcode pop3_done(struct connectdata *conn, CURLcode status,
94 static CURLcode pop3_connect(struct connectdata *conn, bool *done);
95 static CURLcode pop3_disconnect(struct connectdata *conn, bool dead);
96 static CURLcode pop3_multi_statemach(struct connectdata *conn, bool *done);
99 static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done);
100 static CURLcode pop3_setup_connection(struct connectdata *conn);
101 static CURLcode pop3_parse_url_options(struct connectdata *conn);
102 static CURLcode pop3_parse_url_path(struct connectdata *conn);
[all …]
Dsmtp.c90 static CURLcode smtp_regular_transfer(struct connectdata *conn, bool *done);
91 static CURLcode smtp_do(struct connectdata *conn, bool *done);
92 static CURLcode smtp_done(struct connectdata *conn, CURLcode status,
94 static CURLcode smtp_connect(struct connectdata *conn, bool *done);
95 static CURLcode smtp_disconnect(struct connectdata *conn, bool dead);
96 static CURLcode smtp_multi_statemach(struct connectdata *conn, bool *done);
99 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done);
100 static CURLcode smtp_setup_connection(struct connectdata *conn);
101 static CURLcode smtp_parse_url_options(struct connectdata *conn);
102 static CURLcode smtp_parse_url_path(struct connectdata *conn);
[all …]
Dimap.c90 static CURLcode imap_regular_transfer(struct connectdata *conn, bool *done);
91 static CURLcode imap_do(struct connectdata *conn, bool *done);
92 static CURLcode imap_done(struct connectdata *conn, CURLcode status,
94 static CURLcode imap_connect(struct connectdata *conn, bool *done);
95 static CURLcode imap_disconnect(struct connectdata *conn, bool dead);
96 static CURLcode imap_multi_statemach(struct connectdata *conn, bool *done);
99 static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done);
100 static CURLcode imap_setup_connection(struct connectdata *conn);
102 static CURLcode imap_sendf(struct connectdata *conn, const char *fmt, ...);
103 static CURLcode imap_parse_url_options(struct connectdata *conn);
[all …]
Durl.h46 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
47 CURLcode Curl_open(struct Curl_easy **curl);
48 CURLcode Curl_init_userdefined(struct Curl_easy *data);
53 CURLcode Curl_uc_to_curlcode(CURLUcode uc);
54 CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */
55 CURLcode Curl_connect(struct Curl_easy *, bool *async, bool *protocol_connect);
56 CURLcode Curl_disconnect(struct Curl_easy *data,
58 CURLcode Curl_protocol_connect(struct connectdata *conn, bool *done);
59 CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done);
60 CURLcode Curl_protocol_doing(struct connectdata *conn, bool *done);
[all …]
Dhttp.h62 CURLcode Curl_add_bufferf(Curl_send_buffer **inp, const char *fmt, ...)
64 CURLcode Curl_add_buffer(Curl_send_buffer **inp, const void *inptr,
66 CURLcode Curl_add_buffer_send(Curl_send_buffer **inp,
72 CURLcode Curl_add_timecondition(struct Curl_easy *data,
74 CURLcode Curl_add_custom_headers(struct connectdata *conn,
77 CURLcode Curl_http_compile_trailers(struct curl_slist *trailers,
82 CURLcode Curl_http(struct connectdata *conn, bool *done);
83 CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature);
84 CURLcode Curl_http_connect(struct connectdata *conn, bool *done);
85 CURLcode Curl_http_setup_conn(struct connectdata *conn);
[all …]
Dtransfer.h31 CURLcode Curl_pretransfer(struct Curl_easy *data);
32 CURLcode Curl_second_connect(struct connectdata *conn);
33 CURLcode Curl_posttransfer(struct Curl_easy *data);
45 CURLcode Curl_follow(struct Curl_easy *data, char *newurl,
47 CURLcode Curl_readwrite(struct connectdata *conn,
53 CURLcode Curl_readrewind(struct connectdata *conn);
54 CURLcode Curl_fillreadbuffer(struct connectdata *conn, size_t bytes,
56 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
58 CURLcode Curl_get_upload_buffer(struct Curl_easy *data);
Dftp.c109 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,
[all …]
Dsmb.c59 static CURLcode smb_setup_connection(struct connectdata *conn);
60 static CURLcode smb_connect(struct connectdata *conn, bool *done);
61 static CURLcode smb_connection_state(struct connectdata *conn, bool *done);
62 static CURLcode smb_do(struct connectdata *conn, bool *done);
63 static CURLcode smb_request_state(struct connectdata *conn, bool *done);
64 static CURLcode smb_done(struct connectdata *conn, CURLcode status,
66 static CURLcode smb_disconnect(struct connectdata *conn, bool dead);
69 static CURLcode smb_parse_url_path(struct connectdata *conn);
180 CURLcode result;
233 static CURLcode smb_setup_connection(struct connectdata *conn) in smb_setup_connection()
[all …]
Dsendf.h27 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
54 CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
60 CURLcode Curl_read_plain(curl_socket_t sockfd,
66 size_t len, CURLcode *code);
68 const void *mem, size_t len, CURLcode *code);
71 CURLcode Curl_read(struct connectdata *conn, curl_socket_t sockfd,
75 CURLcode Curl_write(struct connectdata *conn,
81 CURLcode Curl_write_plain(struct connectdata *conn,
Dcurl_rtmp.c51 static CURLcode rtmp_setup_connection(struct connectdata *conn);
52 static CURLcode rtmp_do(struct connectdata *conn, bool *done);
53 static CURLcode rtmp_done(struct connectdata *conn, CURLcode, bool premature);
54 static CURLcode rtmp_connect(struct connectdata *conn, bool *done);
55 static CURLcode rtmp_disconnect(struct connectdata *conn, bool dead);
190 static CURLcode rtmp_setup_connection(struct connectdata *conn) in rtmp_setup_connection()
206 static CURLcode rtmp_connect(struct connectdata *conn, bool *done) in rtmp_connect()
240 static CURLcode rtmp_do(struct connectdata *conn, bool *done) in rtmp_do()
258 static CURLcode rtmp_done(struct connectdata *conn, CURLcode status, in rtmp_done()
268 static CURLcode rtmp_disconnect(struct connectdata *conn, in rtmp_disconnect()
[all …]
Dtftp.c149 static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event);
150 static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event);
151 static CURLcode tftp_connect(struct connectdata *conn, bool *done);
152 static CURLcode tftp_disconnect(struct connectdata *conn,
154 static CURLcode tftp_do(struct connectdata *conn, bool *done);
155 static CURLcode tftp_done(struct connectdata *conn,
156 CURLcode, bool premature);
157 static CURLcode tftp_setup_connection(struct connectdata * conn);
158 static CURLcode tftp_multi_statemach(struct connectdata *conn, bool *done);
159 static CURLcode tftp_doing(struct connectdata *conn, bool *dophase_done);
[all …]
Dpingpong.h72 CURLcode (*statemach_act)(struct connectdata *conn);
84 CURLcode Curl_pp_statemach(struct pingpong *pp, bool block,
105 CURLcode Curl_pp_sendf(struct pingpong *pp,
118 CURLcode Curl_pp_vsendf(struct pingpong *pp,
127 CURLcode Curl_pp_readresp(curl_socket_t sockfd,
133 CURLcode Curl_pp_flushsend(struct pingpong *pp);
136 CURLcode Curl_pp_disconnect(struct pingpong *pp);
Dhostip.h148 CURLcode Curl_once_resolved(struct connectdata *conn, bool *protocol_connect);
156 CURLcode Curl_addrinfo_callback(struct connectdata *conn,
208 CURLcode Curl_set_dns_servers(struct Curl_easy *data, char *servers);
214 CURLcode Curl_set_dns_interface(struct Curl_easy *data,
221 CURLcode Curl_set_dns_local_ip4(struct Curl_easy *data,
228 CURLcode Curl_set_dns_local_ip6(struct Curl_easy *data,
244 CURLcode Curl_loadhostpairs(struct Curl_easy *data);
246 CURLcode Curl_resolv_check(struct connectdata *conn,
Dhttp2.h42 CURLcode Curl_http2_init(struct connectdata *conn);
45 CURLcode Curl_http2_send_request(struct connectdata *conn);
46 CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req,
48 CURLcode Curl_http2_setup(struct connectdata *conn);
49 CURLcode Curl_http2_switched(struct connectdata *conn,
55 CURLcode Curl_http2_done_sending(struct connectdata *conn);
56 CURLcode Curl_http2_add_child(struct Curl_easy *parent,
Dopenldap.c79 static CURLcode ldap_setup_connection(struct connectdata *conn);
80 static CURLcode ldap_do(struct connectdata *conn, bool *done);
81 static CURLcode ldap_done(struct connectdata *conn, CURLcode, bool);
82 static CURLcode ldap_connect(struct connectdata *conn, bool *done);
83 static CURLcode ldap_connecting(struct connectdata *conn, bool *done);
84 static CURLcode ldap_disconnect(struct connectdata *conn, bool dead);
170 static CURLcode ldap_setup_connection(struct connectdata *conn) in ldap_setup_connection()
176 CURLcode status; in ldap_setup_connection()
209 static CURLcode ldap_connect(struct connectdata *conn, bool *done) in ldap_connect()
246 CURLcode result; in ldap_connect()
[all …]
Dcurl_ntlm_core.h68 CURLcode Curl_ntlm_core_mk_lm_hash(struct Curl_easy *data,
73 CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data,
79 CURLcode Curl_hmac_md5(const unsigned char *key, unsigned int keylen,
83 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen,
88 CURLcode Curl_ntlm_core_mk_ntlmv2_resp(unsigned char *ntlmv2hash,
94 CURLcode Curl_ntlm_core_mk_lmv2_resp(unsigned char *ntlmv2hash,
Dfile.c85 static CURLcode file_do(struct connectdata *, bool *done);
86 static CURLcode file_done(struct connectdata *conn,
87 CURLcode status, bool premature);
88 static CURLcode file_connect(struct connectdata *conn, bool *done);
89 static CURLcode file_disconnect(struct connectdata *conn,
91 static CURLcode file_setup_connection(struct connectdata *conn);
119 static CURLcode file_setup_connection(struct connectdata *conn) in file_setup_connection()
134 static CURLcode file_connect(struct connectdata *conn, bool *done) in file_connect()
146 CURLcode result = Curl_urldecode(data, data->state.up.path, 0, &real_path, in file_connect()
209 static CURLcode file_done(struct connectdata *conn, in file_done()
[all …]
/external/libbrillo/brillo/http/
Dcurl_api.h31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0;
32 virtual CURLcode EasySetOptStr(CURL* curl,
35 virtual CURLcode EasySetOptPtr(CURL* curl,
38 virtual CURLcode EasySetOptCallback(CURL* curl,
41 virtual CURLcode EasySetOptOffT(CURL* curl,
47 inline CURLcode EasySetOptCallback(CURL* curl, in EasySetOptCallback()
55 virtual CURLcode EasyPerform(CURL* curl) = 0;
58 virtual CURLcode EasyGetInfoInt(CURL* curl,
61 virtual CURLcode EasyGetInfoDbl(CURL* curl,
64 virtual CURLcode EasyGetInfoStr(CURL* curl,
[all …]
Dmock_curl_api.h25 MOCK_METHOD3(EasySetOptInt, CURLcode(CURL*, CURLoption, int));
26 MOCK_METHOD3(EasySetOptStr, CURLcode(CURL*, CURLoption, const std::string&));
27 MOCK_METHOD3(EasySetOptPtr, CURLcode(CURL*, CURLoption, void*));
28 MOCK_METHOD3(EasySetOptCallback, CURLcode(CURL*, CURLoption, intptr_t));
29 MOCK_METHOD3(EasySetOptOffT, CURLcode(CURL*, CURLoption, curl_off_t));
30 MOCK_METHOD1(EasyPerform, CURLcode(CURL*));
31 MOCK_CONST_METHOD3(EasyGetInfoInt, CURLcode(CURL*, CURLINFO, int*));
32 MOCK_CONST_METHOD3(EasyGetInfoDbl, CURLcode(CURL*, CURLINFO, double*));
33 MOCK_CONST_METHOD3(EasyGetInfoStr, CURLcode(CURL*, CURLINFO, std::string*));
34 MOCK_CONST_METHOD3(EasyGetInfoPtr, CURLcode(CURL*, CURLINFO, void**));
[all …]
Dcurl_api.cc43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { in EasySetOptInt()
52 CURLcode CurlApi::EasySetOptStr(CURL* curl, in EasySetOptStr()
60 CURLcode CurlApi::EasySetOptPtr(CURL* curl, CURLoption option, void* value) { in EasySetOptPtr()
66 CURLcode CurlApi::EasySetOptCallback(CURL* curl, in EasySetOptCallback()
74 CURLcode CurlApi::EasySetOptOffT(CURL* curl, in EasySetOptOffT()
82 CURLcode CurlApi::EasyPerform(CURL* curl) { in EasyPerform()
86 CURLcode CurlApi::EasyGetInfoInt(CURL* curl, CURLINFO info, int* value) const { in EasyGetInfoInt()
89 CURLcode code = curl_easy_getinfo(curl, info, &data); in EasyGetInfoInt()
95 CURLcode CurlApi::EasyGetInfoDbl(CURL* curl, in EasyGetInfoDbl()
102 CURLcode CurlApi::EasyGetInfoStr(CURL* curl, in EasyGetInfoStr()
[all …]
/external/curl/lib/vtls/
Dvtls.h55 CURLcode (*random)(struct Curl_easy *data, unsigned char *entropy,
59 CURLcode (*connect_blocking)(struct connectdata *conn, int sockindex);
60 CURLcode (*connect_nonblocking)(struct connectdata *conn, int sockindex,
67 CURLcode (*set_engine)(struct Curl_easy *data, const char *engine);
68 CURLcode (*set_engine_default)(struct Curl_easy *data);
73 CURLcode (*md5sum)(unsigned char *input, size_t inputlen,
75 CURLcode (*sha256sum)(const unsigned char *input, size_t inputlen,
87 CURLcode Curl_none_random(struct Curl_easy *data, unsigned char *entropy,
93 CURLcode Curl_none_set_engine(struct Curl_easy *data, const char *engine);
94 CURLcode Curl_none_set_engine_default(struct Curl_easy *data);
[all …]
/external/curl/lib/vauth/
Dvauth.h62 CURLcode Curl_auth_create_plain_message(struct Curl_easy *data,
68 CURLcode Curl_auth_create_login_message(struct Curl_easy *data,
73 CURLcode Curl_auth_create_external_message(struct Curl_easy *data,
79 CURLcode Curl_auth_decode_cram_md5_message(const char *chlg64, char **outptr,
83 CURLcode Curl_auth_create_cram_md5_message(struct Curl_easy *data,
93 CURLcode Curl_auth_create_digest_md5_message(struct Curl_easy *data,
101 CURLcode Curl_auth_decode_digest_http_message(const char *chlg,
105 CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
122 CURLcode Curl_auth_create_ntlm_type1_message(struct Curl_easy *data,
132 CURLcode Curl_auth_decode_ntlm_type2_message(struct Curl_easy *data,
[all …]
/external/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 …]
/external/curl/packages/OS400/
Dccsidcurl.h48 CURL_EXTERN const char * curl_easy_strerror_ccsid(CURLcode error,
54 CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...);
62 CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...);
70 CURL_EXTERN CURLcode curl_mime_name_ccsid(curl_mimepart *part,
73 CURL_EXTERN CURLcode curl_mime_filename_ccsid(curl_mimepart *part,
76 CURL_EXTERN CURLcode curl_mime_type_ccsid(curl_mimepart *part,
79 CURL_EXTERN CURLcode curl_mime_encoder_ccsid(curl_mimepart *part,
82 CURL_EXTERN CURLcode curl_mime_filedata_ccsid(curl_mimepart *part,
85 CURL_EXTERN CURLcode curl_mime_data_ccsid(curl_mimepart *part,
/external/curl/include/curl/
Deasy.h29 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
30 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl);
46 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
84 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen,
95 CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer,
106 CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl);

12345678910>>...16