Home
last modified time | relevance | path

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

1234

/external/curl/lib/vtls/
Dvtls.h26 struct connectdata;
49 int (*check_cxn)(struct connectdata *cxn);
50 int (*shutdown)(struct connectdata *conn, int sockindex);
51 bool (*data_pending)(const struct connectdata *conn,
59 CURLcode (*connect)(struct connectdata *conn, int sockindex);
60 CURLcode (*connect_nonblocking)(struct connectdata *conn, int sockindex,
63 void (*close_one)(struct connectdata *conn, int sockindex);
85 int Curl_none_shutdown(struct connectdata *conn, int sockindex);
86 int Curl_none_check_cxn(struct connectdata *conn);
91 bool Curl_none_data_pending(const struct connectdata *conn, int connindex);
[all …]
/external/curl/lib/
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);
Durl.h34 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
40 CURLcode Curl_connect(struct Curl_easy *, struct connectdata **,
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,
53 int Curl_doing_getsock(struct connectdata *conn,
67 struct connectdata *conn);
[all …]
Dhttp.h45 char *Curl_checkProxyheaders(const struct connectdata *conn,
65 struct connectdata *conn,
72 CURLcode Curl_add_custom_headers(struct connectdata *conn,
77 CURLcode Curl_http(struct connectdata *conn, bool *done);
78 CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature);
79 CURLcode Curl_http_connect(struct connectdata *conn, bool *done);
80 CURLcode Curl_http_setup_conn(struct connectdata *conn);
83 void Curl_httpchunk_init(struct connectdata *conn);
84 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
89 CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy,
[all …]
Dconncache.h57 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn,
59 void Curl_conncache_unlock(struct connectdata *conn);
62 size_t Curl_conncache_bundle_size(struct connectdata *conn);
64 bool Curl_conncache_return_conn(struct connectdata *conn);
66 struct connectdata *conn);
67 void Curl_conncache_remove_conn(struct connectdata *conn,
72 int (*func)(struct connectdata *conn,
75 struct connectdata *
78 struct connectdata *
81 struct connectdata *
Dconnect.h30 CURLcode Curl_is_connected(struct connectdata *conn,
34 CURLcode Curl_connecthost(struct connectdata *conn,
54 struct connectdata **connp);
59 bool Curl_connalive(struct connectdata *conn);
76 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
77 void Curl_persistconninfo(struct connectdata *conn);
78 int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);
106 CURLcode Curl_socket(struct connectdata *conn,
111 void Curl_tcpnodelay(struct connectdata *conn, curl_socket_t sockfd);
129 void Curl_conncontrol(struct connectdata *conn,
[all …]
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);
97 static int pop3_getsock(struct connectdata *conn, curl_socket_t *socks,
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);
[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,
59 bool Curl_recv_has_postponed_data(struct connectdata *conn, int sockindex);
67 ssize_t Curl_recv_plain(struct connectdata *conn, int num, char *buf,
69 ssize_t Curl_send_plain(struct connectdata *conn, int num,
73 CURLcode Curl_read(struct connectdata *conn, curl_socket_t sockfd,
77 CURLcode Curl_write(struct connectdata *conn,
83 CURLcode Curl_write_plain(struct connectdata *conn,
91 struct connectdata *conn);
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);
97 static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks,
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);
[all …]
Dtransfer.h25 char *Curl_checkheaders(const struct connectdata *conn,
31 CURLcode Curl_second_connect(struct connectdata *conn);
46 CURLcode Curl_readwrite(struct connectdata *conn,
49 int Curl_single_getsock(const struct connectdata *conn,
52 CURLcode Curl_readrewind(struct connectdata *conn);
53 CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
54 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
59 Curl_setup_transfer (struct connectdata *data,
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 …]
Dhttp2.h42 CURLcode Curl_http2_init(struct connectdata *conn);
45 CURLcode Curl_http2_send_request(struct connectdata *conn);
47 struct connectdata *conn);
48 CURLcode Curl_http2_setup(struct connectdata *conn);
49 CURLcode Curl_http2_switched(struct connectdata *conn,
52 void Curl_http2_setup_conn(struct connectdata *conn);
54 void Curl_http2_done(struct connectdata *conn, bool premature);
55 CURLcode Curl_http2_done_sending(struct connectdata *conn);
Dconncache.c66 struct connectdata *data = element; in conn_llist_dtor()
100 struct connectdata *conn) in bundle_add_conn()
111 struct connectdata *conn) in bundle_remove_conn()
163 static void hashkey(struct connectdata *conn, char *buf, in hashkey()
183 void Curl_conncache_unlock(struct connectdata *conn) in Curl_conncache_unlock()
203 size_t Curl_conncache_bundle_size(struct connectdata *conn) in Curl_conncache_bundle_size()
216 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, in Curl_conncache_find_bundle()
264 struct connectdata *conn) in Curl_conncache_add_conn()
313 void Curl_conncache_remove_conn(struct connectdata *conn, bool lock) in Curl_conncache_remove_conn()
356 int (*func)(struct connectdata *conn, void *param)) in Curl_conncache_foreach()
[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);
Dcontent_encoding.c107 process_zlib_error(struct connectdata *conn, z_stream *z) in process_zlib_error()
121 exit_zlib(struct connectdata *conn, in exit_zlib()
136 static CURLcode process_trailer(struct connectdata *conn, zlib_params *zp) in process_trailer()
159 static CURLcode inflate_stream(struct connectdata *conn, in inflate_stream()
254 static CURLcode deflate_init_writer(struct connectdata *conn, in deflate_init_writer()
273 static CURLcode deflate_unencode_write(struct connectdata *conn, in deflate_unencode_write()
288 static void deflate_close_writer(struct connectdata *conn, in deflate_close_writer()
308 static CURLcode gzip_init_writer(struct connectdata *conn, in gzip_init_writer()
424 static CURLcode gzip_unencode_write(struct connectdata *conn, in gzip_unencode_write()
552 static void gzip_close_writer(struct connectdata *conn, in gzip_close_writer()
[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_request_state(struct connectdata *conn, bool *done);
63 static CURLcode smb_done(struct connectdata *conn, CURLcode status,
65 static CURLcode smb_disconnect(struct connectdata *conn, bool dead);
66 static int smb_getsock(struct connectdata *conn, curl_socket_t *socks,
68 static CURLcode smb_parse_url_path(struct connectdata *conn);
183 static void conn_state(struct connectdata *conn, enum smb_conn_state newstate) in conn_state()
205 static void request_state(struct connectdata *conn, in request_state()
[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,
Dcontent_encoding.h40 CURLcode (*init_writer)(struct connectdata *conn, contenc_writer *writer);
41 CURLcode (*unencode_write)(struct connectdata *conn, contenc_writer *writer,
43 void (*close_writer)(struct connectdata *conn, contenc_writer *writer);
48 CURLcode Curl_build_unencoding_stack(struct connectdata *conn,
50 CURLcode Curl_unencode_write(struct connectdata *conn, contenc_writer *writer,
52 void Curl_unencode_cleanup(struct connectdata *conn);
Dcurl_rtmp.c49 static CURLcode rtmp_setup_connection(struct connectdata *conn);
50 static CURLcode rtmp_do(struct connectdata *conn, bool *done);
51 static CURLcode rtmp_done(struct connectdata *conn, CURLcode, bool premature);
52 static CURLcode rtmp_connect(struct connectdata *conn, bool *done);
53 static CURLcode rtmp_disconnect(struct connectdata *conn, bool dead);
188 static CURLcode rtmp_setup_connection(struct connectdata *conn) in rtmp_setup_connection()
204 static CURLcode rtmp_connect(struct connectdata *conn, bool *done) in rtmp_connect()
238 static CURLcode rtmp_do(struct connectdata *conn, bool *done) in rtmp_do()
255 static CURLcode rtmp_done(struct connectdata *conn, CURLcode status, in rtmp_done()
265 static CURLcode rtmp_disconnect(struct connectdata *conn, in rtmp_disconnect()
[all …]
Dcurl_sasl.h28 struct connectdata;
91 CURLcode (*sendauth)(struct connectdata *conn,
94 CURLcode (*sendcont)(struct connectdata *conn, const char *contauth);
119 void Curl_sasl_cleanup(struct connectdata *conn, unsigned int authused);
133 bool Curl_sasl_can_authenticate(struct SASL *sasl, struct connectdata *conn);
136 CURLcode Curl_sasl_start(struct SASL *sasl, struct connectdata *conn,
140 CURLcode Curl_sasl_continue(struct SASL *sasl, 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,
Drtsp.c61 static CURLcode rtsp_do(struct connectdata *conn, bool *done);
62 static CURLcode rtsp_done(struct connectdata *conn, CURLcode, bool premature);
63 static CURLcode rtsp_connect(struct connectdata *conn, bool *done);
64 static CURLcode rtsp_disconnect(struct connectdata *conn, bool dead);
66 static int rtsp_getsock_do(struct connectdata *conn,
78 struct connectdata *conn,
82 static CURLcode rtsp_setup_connection(struct connectdata *conn);
84 bool rtsp_connisdead(struct connectdata *check);
85 static unsigned int rtsp_conncheck(struct connectdata *check,
91 static int rtsp_getsock_do(struct connectdata *conn, in rtsp_getsock_do()
[all …]
Dftp.c98 static void _state(struct connectdata *conn,
102 static void _state(struct connectdata *conn,
108 static CURLcode ftp_sendquote(struct connectdata *conn,
110 static CURLcode ftp_quit(struct connectdata *conn);
111 static CURLcode ftp_parse_url_path(struct connectdata *conn);
112 static CURLcode ftp_regular_transfer(struct connectdata *conn, bool *done);
114 static void ftp_pasv_verbose(struct connectdata *conn,
119 static CURLcode ftp_state_prepare_transfer(struct connectdata *conn);
120 static CURLcode ftp_state_mdtm(struct connectdata *conn);
121 static CURLcode ftp_state_quote(struct connectdata *conn,
[all …]
Dpipeline.c60 struct connectdata *conn) in Curl_pipeline_penalized()
103 struct connectdata *conn) in Curl_add_handle_to_pipeline()
133 struct connectdata *conn) in Curl_move_handle_from_send_to_recv_pipe()
165 struct connectdata *conn) in Curl_pipeline_site_blacklisted()
305 struct connectdata *conn) in Curl_recvpipe_head()
312 struct connectdata *conn) in Curl_sendpipe_head()
326 struct connectdata *conn) in Curl_pipeline_checkget_write()
349 struct connectdata *conn) in Curl_pipeline_checkget_read()
366 void Curl_pipeline_leave_write(struct connectdata *conn) in Curl_pipeline_leave_write()
374 void Curl_pipeline_leave_read(struct connectdata *conn) in Curl_pipeline_leave_read()
[all …]
Dhttp_proxy.h30 CURLcode Curl_proxyCONNECT(struct connectdata *conn,
37 CURLcode Curl_proxy_connect(struct connectdata *conn, int sockindex);
39 bool Curl_connect_complete(struct connectdata *conn);
40 bool Curl_connect_ongoing(struct connectdata *conn);

1234