Home
last modified time | relevance | path

Searched refs:Curl_easy (Results 1 – 25 of 187) sorted by relevance

12345678

/external/curl/lib/
Dcfilters.h29 struct Curl_easy;
37 struct Curl_easy *data);
40 struct Curl_easy *data);
43 struct Curl_easy *data,
58 struct Curl_easy *data,
69 struct Curl_easy *data,
73 const struct Curl_easy *data);
76 struct Curl_easy *data, /* transfer */
82 struct Curl_easy *data, /* transfer */
88 struct Curl_easy *data,
[all …]
Dhostip.h51 struct Curl_easy;
87 enum resolve_t Curl_resolv(struct Curl_easy *data,
92 enum resolve_t Curl_resolv_timeout(struct Curl_easy *data,
101 bool Curl_ipv6works(struct Curl_easy *data);
110 bool Curl_ipvalid(struct Curl_easy *data, struct connectdata *conn);
119 struct Curl_addrinfo *Curl_getaddrinfo(struct Curl_easy *data,
126 void Curl_resolv_unlock(struct Curl_easy *data,
133 void Curl_hostcache_prune(struct Curl_easy *data);
141 CURLcode Curl_once_resolved(struct Curl_easy *data, bool *protocol_connect);
149 CURLcode Curl_addrinfo_callback(struct Curl_easy *data,
[all …]
Dhttp.h73 char *Curl_checkProxyheaders(struct Curl_easy *data,
79 struct Curl_easy *data,
85 CURLcode Curl_add_timecondition(struct Curl_easy *data,
92 CURLcode Curl_add_custom_headers(struct Curl_easy *data,
102 struct Curl_easy *handle);
104 void Curl_http_method(struct Curl_easy *data, struct connectdata *conn,
106 CURLcode Curl_http_useragent(struct Curl_easy *data);
107 CURLcode Curl_http_host(struct Curl_easy *data, struct connectdata *conn);
108 CURLcode Curl_http_target(struct Curl_easy *data, struct connectdata *conn,
110 CURLcode Curl_http_statusline(struct Curl_easy *data,
[all …]
Durl.h32 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
33 CURLcode Curl_open(struct Curl_easy **curl);
34 CURLcode Curl_init_userdefined(struct Curl_easy *data);
36 void Curl_freeset(struct Curl_easy *data);
38 CURLcode Curl_close(struct Curl_easy **datap); /* opposite of curl_open() */
39 CURLcode Curl_connect(struct Curl_easy *, bool *async, bool *protocol_connect);
40 void Curl_disconnect(struct Curl_easy *data,
42 CURLcode Curl_setup_conn(struct Curl_easy *data,
44 void Curl_free_request_state(struct Curl_easy *data);
59 void Curl_verboseconnect(struct Curl_easy *data, struct connectdata *conn);
[all …]
Dtransfer.h28 char *Curl_checkheaders(const struct Curl_easy *data,
32 void Curl_init_CONNECT(struct Curl_easy *data);
34 CURLcode Curl_pretransfer(struct Curl_easy *data);
35 CURLcode Curl_posttransfer(struct Curl_easy *data);
46 CURLcode Curl_follow(struct Curl_easy *data, char *newurl,
49 struct Curl_easy *data, bool *done,
51 int Curl_single_getsock(struct Curl_easy *data,
53 CURLcode Curl_fillreadbuffer(struct Curl_easy *data, size_t bytes,
55 CURLcode Curl_retry_request(struct Curl_easy *data, char **url);
56 bool Curl_meets_timecondition(struct Curl_easy *data, time_t timeofdoc);
[all …]
Dmultiif.h31 CURLcode Curl_updatesocket(struct Curl_easy *data);
32 void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id);
33 void Curl_expire_clear(struct Curl_easy *data);
34 void Curl_expire_done(struct Curl_easy *data, expire_id id);
36 void Curl_attach_connection(struct Curl_easy *data,
38 void Curl_detach_connection(struct Curl_easy *data);
40 void Curl_set_in_callback(struct Curl_easy *data, bool value);
41 bool Curl_is_in_callback(struct Curl_easy *easy);
42 CURLcode Curl_preconnect(struct Curl_easy *data);
75 void Curl_multiuse_state(struct Curl_easy *data,
[all …]
Dprogress.h45 int Curl_pgrsDone(struct Curl_easy *data);
46 void Curl_pgrsStartNow(struct Curl_easy *data);
47 void Curl_pgrsSetDownloadSize(struct Curl_easy *data, curl_off_t size);
48 void Curl_pgrsSetUploadSize(struct Curl_easy *data, curl_off_t size);
49 void Curl_pgrsSetDownloadCounter(struct Curl_easy *data, curl_off_t size);
50 void Curl_pgrsSetUploadCounter(struct Curl_easy *data, curl_off_t size);
51 void Curl_ratelimit(struct Curl_easy *data, struct curltime now);
52 int Curl_pgrsUpdate(struct Curl_easy *data);
53 void Curl_pgrsResetTransferSizes(struct Curl_easy *data);
54 struct curltime Curl_pgrsTime(struct Curl_easy *data, timerid timer);
[all …]
Dcfilters.c48 void Curl_cf_def_destroy_this(struct Curl_cfilter *cf, struct Curl_easy *data) in Curl_cf_def_destroy_this()
54 void Curl_cf_def_close(struct Curl_cfilter *cf, struct Curl_easy *data) in Curl_cf_def_close()
62 struct Curl_easy *data, in Curl_cf_def_connect()
82 void Curl_cf_def_get_host(struct Curl_cfilter *cf, struct Curl_easy *data, in Curl_cf_def_get_host()
96 struct Curl_easy *data, in Curl_cf_def_get_select_socks()
104 const struct Curl_easy *data) in Curl_cf_def_data_pending()
110 ssize_t Curl_cf_def_send(struct Curl_cfilter *cf, struct Curl_easy *data, in Curl_cf_def_send()
118 ssize_t Curl_cf_def_recv(struct Curl_cfilter *cf, struct Curl_easy *data, in Curl_cf_def_recv()
127 struct Curl_easy *data, in Curl_cf_def_conn_is_alive()
136 struct Curl_easy *data) in Curl_cf_def_conn_keep_alive()
[all …]
Dasyn.h32 struct Curl_easy;
65 CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver);
84 CURLcode Curl_resolver_duphandle(struct Curl_easy *easy, void **to,
96 void Curl_resolver_cancel(struct Curl_easy *data);
109 void Curl_resolver_kill(struct Curl_easy *data);
119 int Curl_resolver_getsock(struct Curl_easy *data, curl_socket_t *sock);
130 CURLcode Curl_resolver_is_resolved(struct Curl_easy *data,
144 CURLcode Curl_resolver_wait_resolv(struct Curl_easy *data,
158 struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct Curl_easy *data,
Dconncache.h45 struct Curl_easy *closure_handle;
91 struct connectbundle *Curl_conncache_find_bundle(struct Curl_easy *data,
95 size_t Curl_conncache_size(struct Curl_easy *data);
97 bool Curl_conncache_return_conn(struct Curl_easy *data,
99 CURLcode Curl_conncache_add_conn(struct Curl_easy *data) WARN_UNUSED_RESULT;
100 void Curl_conncache_remove_conn(struct Curl_easy *data,
103 bool Curl_conncache_foreach(struct Curl_easy *data,
106 int (*func)(struct Curl_easy *data,
114 Curl_conncache_extract_bundle(struct Curl_easy *data,
117 Curl_conncache_extract_oldest(struct Curl_easy *data);
Dpingpong.h71 CURLcode (*statemachine)(struct Curl_easy *data, struct connectdata *conn);
72 bool (*endofresp)(struct Curl_easy *data, struct connectdata *conn,
89 CURLcode Curl_pp_statemach(struct Curl_easy *data, struct pingpong *pp,
93 void Curl_pp_init(struct Curl_easy *data, struct pingpong *pp);
100 timediff_t Curl_pp_state_timeout(struct Curl_easy *data,
114 CURLcode Curl_pp_sendf(struct Curl_easy *data,
128 CURLcode Curl_pp_vsendf(struct Curl_easy *data,
138 CURLcode Curl_pp_readresp(struct Curl_easy *data,
145 CURLcode Curl_pp_flushsend(struct Curl_easy *data,
151 int Curl_pp_getsock(struct Curl_easy *data, struct pingpong *pp,
Dcf-socket.h33 struct Curl_easy;
64 CURLcode Curl_socket_open(struct Curl_easy *data,
70 int Curl_socket_close(struct Curl_easy *data, struct connectdata *conn,
76 CURLcode Curl_socket_connect_result(struct Curl_easy *data,
110 struct Curl_easy *data,
123 struct Curl_easy *data,
136 struct Curl_easy *data,
144 CURLcode Curl_conn_tcp_listen_set(struct Curl_easy *data,
152 CURLcode Curl_conn_tcp_accepted_set(struct Curl_easy *data,
174 struct Curl_easy *data,
Dpop3.c89 static CURLcode pop3_regular_transfer(struct Curl_easy *data, bool *done);
90 static CURLcode pop3_do(struct Curl_easy *data, bool *done);
91 static CURLcode pop3_done(struct Curl_easy *data, CURLcode status,
93 static CURLcode pop3_connect(struct Curl_easy *data, bool *done);
94 static CURLcode pop3_disconnect(struct Curl_easy *data,
96 static CURLcode pop3_multi_statemach(struct Curl_easy *data, bool *done);
97 static int pop3_getsock(struct Curl_easy *data,
99 static CURLcode pop3_doing(struct Curl_easy *data, bool *dophase_done);
100 static CURLcode pop3_setup_connection(struct Curl_easy *data,
103 static CURLcode pop3_parse_url_path(struct Curl_easy *data);
[all …]
Dhttp2.h44 struct Curl_easy *data);
47 bool Curl_h2_http_1_1_error(struct Curl_easy *data);
49 bool Curl_conn_is_http2(const struct Curl_easy *data,
52 bool Curl_cf_is_http2(struct Curl_cfilter *cf, const struct Curl_easy *data);
54 bool Curl_http2_may_switch(struct Curl_easy *data,
58 CURLcode Curl_http2_switch(struct Curl_easy *data,
61 CURLcode Curl_http2_switch_at(struct Curl_cfilter *cf, struct Curl_easy *data);
63 CURLcode Curl_http2_upgrade(struct Curl_easy *data,
Dsmtp.c93 static CURLcode smtp_regular_transfer(struct Curl_easy *data, bool *done);
94 static CURLcode smtp_do(struct Curl_easy *data, bool *done);
95 static CURLcode smtp_done(struct Curl_easy *data, CURLcode status,
97 static CURLcode smtp_connect(struct Curl_easy *data, bool *done);
98 static CURLcode smtp_disconnect(struct Curl_easy *data,
100 static CURLcode smtp_multi_statemach(struct Curl_easy *data, bool *done);
101 static int smtp_getsock(struct Curl_easy *data,
103 static CURLcode smtp_doing(struct Curl_easy *data, bool *dophase_done);
104 static CURLcode smtp_setup_connection(struct Curl_easy *data,
107 static CURLcode smtp_parse_url_path(struct Curl_easy *data);
[all …]
Dcurl_sasl.h31 struct Curl_easy;
100 CURLcode (*sendauth)(struct Curl_easy *data, const char *mech,
103 CURLcode (*contauth)(struct Curl_easy *data, const char *mech,
106 CURLcode (*cancelauth)(struct Curl_easy *data, const char *mech);
108 CURLcode (*getmessage)(struct Curl_easy *data, struct bufref *out);
151 void Curl_sasl_init(struct SASL *sasl, struct Curl_easy *data,
155 bool Curl_sasl_can_authenticate(struct SASL *sasl, struct Curl_easy *data);
158 CURLcode Curl_sasl_start(struct SASL *sasl, struct Curl_easy *data,
162 CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data,
Dimap.c89 static CURLcode imap_regular_transfer(struct Curl_easy *data, bool *done);
90 static CURLcode imap_do(struct Curl_easy *data, bool *done);
91 static CURLcode imap_done(struct Curl_easy *data, CURLcode status,
93 static CURLcode imap_connect(struct Curl_easy *data, bool *done);
94 static CURLcode imap_disconnect(struct Curl_easy *data,
96 static CURLcode imap_multi_statemach(struct Curl_easy *data, bool *done);
97 static int imap_getsock(struct Curl_easy *data, struct connectdata *conn,
99 static CURLcode imap_doing(struct Curl_easy *data, bool *dophase_done);
100 static CURLcode imap_setup_connection(struct Curl_easy *data,
103 static CURLcode imap_sendf(struct Curl_easy *data, const char *fmt, ...);
[all …]
Dconnect.h36 timediff_t Curl_timeleft(struct Curl_easy *data,
48 curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
54 void Curl_persistconninfo(struct Curl_easy *data, struct connectdata *conn,
102 struct Curl_easy *data,
119 struct Curl_easy *data,
125 CURLcode Curl_cf_setup_add(struct Curl_easy *data,
133 struct Curl_easy *data,
143 CURLcode Curl_conn_setup(struct Curl_easy *data,
Dcontent_encoding.h38 CURLcode (*init_writer)(struct Curl_easy *data,
40 CURLcode (*unencode_write)(struct Curl_easy *data,
43 void (*close_writer)(struct Curl_easy *data,
49 CURLcode Curl_build_unencoding_stack(struct Curl_easy *data,
51 CURLcode Curl_unencode_write(struct Curl_easy *data,
54 void Curl_unencode_cleanup(struct Curl_easy *data);
Dcontent_encoding.c118 process_zlib_error(struct Curl_easy *data, z_stream *z) in process_zlib_error()
131 exit_zlib(struct Curl_easy *data, in exit_zlib()
146 static CURLcode process_trailer(struct Curl_easy *data, in process_trailer()
170 static CURLcode inflate_stream(struct Curl_easy *data, in inflate_stream()
274 static CURLcode deflate_init_writer(struct Curl_easy *data, in deflate_init_writer()
293 static CURLcode deflate_unencode_write(struct Curl_easy *data, in deflate_unencode_write()
311 static void deflate_close_writer(struct Curl_easy *data, in deflate_close_writer()
331 static CURLcode gzip_init_writer(struct Curl_easy *data, in gzip_init_writer()
447 static CURLcode gzip_unencode_write(struct Curl_easy *data, in gzip_unencode_write()
575 static void gzip_close_writer(struct Curl_easy *data, in gzip_close_writer()
[all …]
Dcookie.h106 struct Curl_easy;
112 struct Cookie *Curl_cookie_add(struct Curl_easy *data,
118 struct Cookie *Curl_cookie_getlist(struct Curl_easy *data,
132 void Curl_flush_cookies(struct Curl_easy *data, bool cleanup);
134 struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
137 struct curl_slist *Curl_cookie_list(struct Curl_easy *data);
138 void Curl_cookie_loadfiles(struct Curl_easy *data);
/external/curl/lib/vtls/
Dvtls_int.h65 int (*check_cxn)(struct Curl_cfilter *cf, struct Curl_easy *data);
67 struct Curl_easy *data);
69 const struct Curl_easy *data);
72 CURLcode (*random)(struct Curl_easy *data, unsigned char *entropy,
77 struct Curl_easy *data);
79 struct Curl_easy *data,
87 int (*get_select_socks)(struct Curl_cfilter *cf, struct Curl_easy *data,
91 void (*close)(struct Curl_cfilter *cf, struct Curl_easy *data);
92 void (*close_all)(struct Curl_easy *data);
95 CURLcode (*set_engine)(struct Curl_easy *data, const char *engine);
[all …]
Dvtls.h101 struct Curl_easy *data,
110 Curl_alpn_get_spec(struct Curl_easy *data, struct connectdata *conn);
117 Curl_alpn_get_proxy_spec(struct Curl_easy *data, struct connectdata *conn);
120 char *Curl_ssl_snihost(struct Curl_easy *data, const char *host, size_t *olen);
134 void Curl_ssl_close_all(struct Curl_easy *data);
135 CURLcode Curl_ssl_set_engine(struct Curl_easy *data, const char *engine);
137 CURLcode Curl_ssl_set_engine_default(struct Curl_easy *data);
138 struct curl_slist *Curl_ssl_engines_list(struct Curl_easy *data);
141 CURLcode Curl_ssl_initsessions(struct Curl_easy *, size_t);
146 void Curl_ssl_free_certinfo(struct Curl_easy *data);
[all …]
Dvtls.c269 static bool ssl_prefs_check(struct Curl_easy *data) in ssl_prefs_check()
293 static struct ssl_connect_data *cf_ctx_new(struct Curl_easy *data, in cf_ctx_new()
320 static CURLcode ssl_connect(struct Curl_cfilter *cf, struct Curl_easy *data) in ssl_connect()
341 ssl_connect_nonblocking(struct Curl_cfilter *cf, struct Curl_easy *data, in ssl_connect_nonblocking()
354 void Curl_ssl_sessionid_lock(struct Curl_easy *data) in Curl_ssl_sessionid_lock()
363 void Curl_ssl_sessionid_unlock(struct Curl_easy *data) in Curl_ssl_sessionid_unlock()
374 struct Curl_easy *data, in Curl_ssl_getsessionid()
460 void Curl_ssl_delsessionid(struct Curl_easy *data, void *ssl_sessionid) in Curl_ssl_delsessionid()
481 struct Curl_easy *data, in Curl_ssl_addsessionid()
589 void Curl_ssl_close_all(struct Curl_easy *data) in Curl_ssl_close_all()
[all …]
/external/curl/lib/vauth/
Dvauth.h31 struct Curl_easy;
61 bool Curl_auth_allowed_to_host(struct Curl_easy *data);
100 CURLcode Curl_auth_create_digest_md5_message(struct Curl_easy *data,
112 CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
126 bool Curl_auth_gsasl_is_supported(struct Curl_easy *data,
130 CURLcode Curl_auth_gsasl_start(struct Curl_easy *data,
136 CURLcode Curl_auth_gsasl_token(struct Curl_easy *data,
150 CURLcode Curl_auth_create_ntlm_type1_message(struct Curl_easy *data,
159 CURLcode Curl_auth_decode_ntlm_type2_message(struct Curl_easy *data,
164 CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data,
[all …]

12345678