Home
last modified time | relevance | path

Searched refs:connectdata (Results 1 – 25 of 102) sorted by relevance

12345

/external/curl/lib/
Durl.h37 CURLcode Curl_connect(struct SessionHandle *, struct connectdata **,
39 CURLcode Curl_do(struct connectdata **, bool *done);
40 CURLcode Curl_do_more(struct connectdata *, int *completed);
41 CURLcode Curl_done(struct connectdata **, CURLcode, bool premature);
42 CURLcode Curl_disconnect(struct connectdata *, bool dead_connection);
43 CURLcode Curl_protocol_connect(struct connectdata *conn, bool *done);
44 CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done);
45 CURLcode Curl_protocol_doing(struct connectdata *conn, bool *done);
46 CURLcode Curl_setup_conn(struct connectdata *conn,
50 int Curl_protocol_getsock(struct connectdata *conn,
[all …]
Dhttp.h43 char *Curl_checkheaders(const struct connectdata *conn,
47 char *Curl_checkProxyheaders(const struct connectdata *conn,
67 struct connectdata *conn,
74 CURLcode Curl_add_custom_headers(struct connectdata *conn,
79 CURLcode Curl_http(struct connectdata *conn, bool *done);
80 CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature);
81 CURLcode Curl_http_connect(struct connectdata *conn, bool *done);
82 CURLcode Curl_http_setup_conn(struct connectdata *conn);
85 void Curl_httpchunk_init(struct connectdata *conn);
86 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
[all …]
Dpipeline.h27 struct connectdata *conn);
29 struct connectdata *conn);
31 struct connectdata *conn);
34 struct connectdata *conn);
46 struct connectdata *conn);
48 struct connectdata *conn);
49 void Curl_pipeline_leave_write(struct connectdata *conn);
50 void Curl_pipeline_leave_read(struct connectdata *conn);
52 struct connectdata *conn);
54 struct connectdata *conn);
Dpop3.c92 static CURLcode pop3_regular_transfer(struct connectdata *conn, bool *done);
93 static CURLcode pop3_do(struct connectdata *conn, bool *done);
94 static CURLcode pop3_done(struct connectdata *conn, CURLcode status,
96 static CURLcode pop3_connect(struct connectdata *conn, bool *done);
97 static CURLcode pop3_disconnect(struct connectdata *conn, bool dead);
98 static CURLcode pop3_multi_statemach(struct connectdata *conn, bool *done);
99 static int pop3_getsock(struct connectdata *conn, curl_socket_t *socks,
101 static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done);
102 static CURLcode pop3_setup_connection(struct connectdata *conn);
103 static CURLcode pop3_parse_url_options(struct connectdata *conn);
[all …]
Dsendf.h27 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
54 CURLcode Curl_client_chop_write(struct connectdata *conn, int type, char *ptr,
56 CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
65 ssize_t Curl_recv_plain(struct connectdata *conn, int num, char *buf,
67 ssize_t Curl_send_plain(struct connectdata *conn, int num,
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,
89 struct connectdata *conn);
Dsmtp.c91 static CURLcode smtp_regular_transfer(struct connectdata *conn, bool *done);
92 static CURLcode smtp_do(struct connectdata *conn, bool *done);
93 static CURLcode smtp_done(struct connectdata *conn, CURLcode status,
95 static CURLcode smtp_connect(struct connectdata *conn, bool *done);
96 static CURLcode smtp_disconnect(struct connectdata *conn, bool dead);
97 static CURLcode smtp_multi_statemach(struct connectdata *conn, bool *done);
98 static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks,
100 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done);
101 static CURLcode smtp_setup_connection(struct connectdata *conn);
102 static CURLcode smtp_parse_url_options(struct connectdata *conn);
[all …]
Dtransfer.h26 CURLcode Curl_second_connect(struct connectdata *conn);
43 CURLcode Curl_readwrite(struct connectdata *conn,
45 int Curl_single_getsock(const struct connectdata *conn,
48 CURLcode Curl_readrewind(struct connectdata *conn);
49 CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
50 CURLcode Curl_reconnect_request(struct connectdata **connp);
51 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
56 Curl_setup_transfer (struct connectdata *data,
Dconnect.h29 CURLcode Curl_is_connected(struct connectdata *conn,
33 CURLcode Curl_connecthost(struct connectdata *conn,
53 struct connectdata **connp);
70 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
71 void Curl_persistconninfo(struct connectdata *conn);
72 int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);
100 CURLcode Curl_socket(struct connectdata *conn,
110 void Curl_conncontrol(struct connectdata *conn,
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);
97 static int imap_getsock(struct connectdata *conn, curl_socket_t *socks,
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, ...);
[all …]
Dcurl_sec.h29 int (*auth)(void *, struct connectdata *);
34 int (*decode)(void *, void*, int, int, struct connectdata *);
42 int Curl_sec_read_msg (struct connectdata *conn, char *,
44 void Curl_sec_end (struct connectdata *);
45 CURLcode Curl_sec_login (struct connectdata *);
46 int Curl_sec_request_prot (struct connectdata *conn, const char *level);
Dhttp2.h40 CURLcode Curl_http2_init(struct connectdata *conn);
41 CURLcode Curl_http2_send_request(struct connectdata *conn);
43 struct connectdata *conn);
44 CURLcode Curl_http2_setup(struct connectdata *conn);
45 CURLcode Curl_http2_switched(struct connectdata *conn,
48 void Curl_http2_setup_conn(struct connectdata *conn);
Dcurl_rtmp.c48 static CURLcode rtmp_setup_connection(struct connectdata *conn);
49 static CURLcode rtmp_do(struct connectdata *conn, bool *done);
50 static CURLcode rtmp_done(struct connectdata *conn, CURLcode, bool premature);
51 static CURLcode rtmp_connect(struct connectdata *conn, bool *done);
52 static CURLcode rtmp_disconnect(struct connectdata *conn, bool dead);
181 static CURLcode rtmp_setup_connection(struct connectdata *conn) in rtmp_setup_connection()
197 static CURLcode rtmp_connect(struct connectdata *conn, bool *done) in rtmp_connect()
231 static CURLcode rtmp_do(struct connectdata *conn, bool *done) in rtmp_do()
248 static CURLcode rtmp_done(struct connectdata *conn, CURLcode status, in rtmp_done()
258 static CURLcode rtmp_disconnect(struct connectdata *conn, in rtmp_disconnect()
[all …]
Dhostip.h54 struct connectdata;
86 int Curl_resolv(struct connectdata *conn, const char *hostname,
88 int Curl_resolv_timeout(struct connectdata *conn, const char *hostname,
105 bool Curl_ipvalid(struct connectdata *conn);
114 Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
148 CURLcode Curl_async_resolved(struct connectdata *conn,
161 CURLcode Curl_addrinfo_callback(struct connectdata *conn,
182 Curl_fetch_addr(struct connectdata *conn,
Dasyn.h31 struct connectdata;
91 void Curl_resolver_cancel(struct connectdata *conn);
101 int Curl_resolver_getsock(struct connectdata *conn, curl_socket_t *sock,
113 CURLcode Curl_resolver_is_resolved(struct connectdata *conn,
128 CURLcode Curl_resolver_wait_resolv(struct connectdata *conn,
142 Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
Dsmb.c55 static CURLcode smb_setup_connection(struct connectdata *conn);
56 static CURLcode smb_connect(struct connectdata *conn, bool *done);
57 static CURLcode smb_connection_state(struct connectdata *conn, bool *done);
58 static CURLcode smb_request_state(struct connectdata *conn, bool *done);
59 static CURLcode smb_done(struct connectdata *conn, CURLcode status,
61 static CURLcode smb_disconnect(struct connectdata *conn, bool dead);
62 static int smb_getsock(struct connectdata *conn, curl_socket_t *socks,
64 static CURLcode smb_parse_url_path(struct connectdata *conn);
182 static void conn_state(struct connectdata *conn, enum smb_conn_state newstate) in conn_state()
204 static void request_state(struct connectdata *conn, in request_state()
[all …]
Dconncache.h49 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn,
53 struct connectdata *conn);
56 struct connectdata *conn);
60 int (*func)(struct connectdata *conn,
63 struct connectdata *
Dconncache.c43 struct connectdata *data = element; in conn_llist_dtor()
83 struct connectdata *conn) in bundle_add_conn()
96 struct connectdata *conn) in bundle_remove_conn()
133 static char *hashkey(struct connectdata *conn) in hashkey()
142 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, in Curl_conncache_find_bundle()
191 struct connectdata *conn) in Curl_conncache_add_conn()
240 struct connectdata *conn) in Curl_conncache_remove_conn()
270 int (*func)(struct connectdata *conn, void *param)) in Curl_conncache_foreach()
292 struct connectdata *conn = curr->ptr; in Curl_conncache_foreach()
303 struct connectdata *
[all …]
Dpipeline.c61 struct connectdata *conn) in Curl_pipeline_penalized()
104 struct connectdata *conn) in Curl_add_handle_to_pipeline()
134 struct connectdata *conn) in Curl_move_handle_from_send_to_recv_pipe()
166 struct connectdata *conn) in Curl_pipeline_site_blacklisted()
335 struct connectdata *conn) in Curl_recvpipe_head()
342 struct connectdata *conn) in Curl_sendpipe_head()
356 struct connectdata *conn) in Curl_pipeline_checkget_write()
379 struct connectdata *conn) in Curl_pipeline_checkget_read()
396 void Curl_pipeline_leave_write(struct connectdata *conn) in Curl_pipeline_leave_write()
404 void Curl_pipeline_leave_read(struct connectdata *conn) in Curl_pipeline_leave_read()
[all …]
Dftp.c99 static void _state(struct connectdata *conn,
103 static void _state(struct connectdata *conn,
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);
115 static void ftp_pasv_verbose(struct connectdata *conn,
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,
[all …]
Dhttp2.c47 static int http2_perform_getsock(const struct connectdata *conn, in http2_perform_getsock()
71 static int http2_getsock(struct connectdata *conn, in http2_getsock()
79 static CURLcode http2_disconnect(struct connectdata *conn, in http2_disconnect()
97 void Curl_http2_setup_conn(struct connectdata *conn) in Curl_http2_setup_conn()
182 struct connectdata *conn = (struct connectdata *)userp; in send_callback()
211 struct connectdata *conn = (struct connectdata *)userp; in on_frame_recv()
337 struct connectdata *conn = (struct connectdata *)userp; in on_invalid_frame_recv()
350 struct connectdata *conn = (struct connectdata *)userp; in on_data_chunk_recv()
406 struct connectdata *conn = (struct connectdata *)userp; in before_frame_send()
416 struct connectdata *conn = (struct connectdata *)userp; in on_frame_send()
[all …]
/external/curl/lib/vtls/
Dvtls.h61 CURLcode Curl_ssl_connect(struct connectdata *conn, int sockindex);
62 CURLcode Curl_ssl_connect_nonblocking(struct connectdata *conn,
68 void Curl_ssl_close(struct connectdata *conn, int sockindex);
69 CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex);
78 bool Curl_ssl_data_pending(const struct connectdata *conn,
80 int Curl_ssl_check_cxn(struct connectdata *conn);
95 bool Curl_ssl_getsessionid(struct connectdata *conn,
99 CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
105 void Curl_ssl_delsessionid(struct connectdata *conn, void *ssl_sessionid);
Dcyassl.h28 CURLcode Curl_cyassl_connect(struct connectdata *conn, int sockindex);
29 bool Curl_cyassl_data_pending(const struct connectdata* conn, int connindex);
30 int Curl_cyassl_shutdown(struct connectdata* conn, int sockindex);
33 void Curl_cyassl_close(struct connectdata *conn, int sockindex);
37 int Curl_cyassl_shutdown(struct connectdata *conn, int sockindex);
39 CURLcode Curl_cyassl_connect_nonblocking(struct connectdata *conn,
Ddarwinssl.h29 CURLcode Curl_darwinssl_connect(struct connectdata *conn, int sockindex);
31 CURLcode Curl_darwinssl_connect_nonblocking(struct connectdata *conn,
36 void Curl_darwinssl_close(struct connectdata *conn, int sockindex);
40 int Curl_darwinssl_shutdown(struct connectdata *conn, int sockindex);
41 int Curl_darwinssl_check_cxn(struct connectdata *conn);
42 bool Curl_darwinssl_data_pending(const struct connectdata *conn,
Dopenssl.h34 CURLcode Curl_ossl_connect(struct connectdata *conn, int sockindex);
35 CURLcode Curl_ossl_connect_nonblocking(struct connectdata *conn,
40 void Curl_ossl_close(struct connectdata *conn, int sockindex);
63 int Curl_ossl_check_cxn(struct connectdata *cxn);
64 int Curl_ossl_shutdown(struct connectdata *conn, int sockindex);
65 bool Curl_ossl_data_pending(const struct connectdata *conn,
Dgskit.h35 CURLcode Curl_gskit_connect(struct connectdata *conn, int sockindex);
36 CURLcode Curl_gskit_connect_nonblocking(struct connectdata *conn,
38 void Curl_gskit_close(struct connectdata *conn, int sockindex);
39 int Curl_gskit_shutdown(struct connectdata *conn, int sockindex);
42 int Curl_gskit_check_cxn(struct connectdata *cxn);

12345