Home
last modified time | relevance | path

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

12345

/external/curl/lib/vtls/
Dvtls.h26 struct connectdata;
49 int (*check_cxn)(struct connectdata *cxn);
50 int (*shut_down)(struct connectdata *conn, int sockindex);
51 bool (*data_pending)(const struct connectdata *conn,
59 CURLcode (*connect_blocking)(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);
Dhttp.h45 char *Curl_checkProxyheaders(const struct connectdata *conn,
67 struct connectdata *conn,
74 CURLcode Curl_add_custom_headers(struct connectdata *conn,
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);
88 void Curl_httpchunk_init(struct connectdata *conn);
89 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
94 CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy,
[all …]
Durl.h46 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
57 struct connectdata *, bool dead_connection);
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);
61 CURLcode Curl_setup_conn(struct connectdata *conn,
65 int Curl_protocol_getsock(struct connectdata *conn,
68 int Curl_doing_getsock(struct connectdata *conn,
80 struct connectdata *conn);
90 CURLcode Curl_connected_proxy(struct connectdata *conn, int sockindex);
[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 …]
Dconnect.h30 CURLcode Curl_is_connected(struct connectdata *conn,
34 CURLcode Curl_connecthost(struct connectdata *conn,
52 struct connectdata **connp);
57 bool Curl_connalive(struct connectdata *conn);
74 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
75 void Curl_persistconninfo(struct connectdata *conn);
76 int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);
104 CURLcode Curl_socket(struct connectdata *conn,
125 void Curl_conncontrol(struct connectdata *conn,
142 bool Curl_conn_data_pending(struct connectdata *conn, int sockindex);
Dconncache.h57 struct connectbundle *Curl_conncache_find_bundle(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) WARN_UNUSED_RESULT;
68 struct connectdata *conn,
73 int (*func)(struct connectdata *conn,
76 struct connectdata *
79 struct connectdata *
82 struct connectdata *
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 …]
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);
64 bool Curl_h2_http_1_1_error(struct connectdata *conn);
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_once_resolved(struct connectdata *conn, bool *protocol_connect);
156 CURLcode Curl_addrinfo_callback(struct connectdata *conn,
177 Curl_fetch_addr(struct connectdata *conn,
246 CURLcode Curl_resolv_check(struct connectdata *conn,
248 int Curl_resolv_getsock(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 …]
Dsendf.h27 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
54 CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
57 bool Curl_recv_has_postponed_data(struct connectdata *conn, int sockindex);
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,
Dconncache.c66 struct connectdata *conn = element; in conn_llist_dtor()
99 struct connectdata *conn) in bundle_add_conn()
109 struct connectdata *conn) in bundle_remove_conn()
161 static void hashkey(struct connectdata *conn, char *buf, in hashkey()
201 size_t Curl_conncache_bundle_size(struct connectdata *conn) in Curl_conncache_bundle_size()
214 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, in Curl_conncache_find_bundle()
262 struct connectdata *conn) in Curl_conncache_add_conn()
311 struct connectdata *conn, bool lock) in Curl_conncache_remove_conn()
353 int (*func)(struct connectdata *conn, void *param)) in Curl_conncache_foreach()
376 struct connectdata *conn = curr->ptr; in Curl_conncache_foreach()
[all …]
Dtransfer.h26 char *Curl_checkheaders(const struct connectdata *conn,
32 CURLcode Curl_second_connect(struct connectdata *conn);
47 CURLcode Curl_readwrite(struct connectdata *conn,
50 int Curl_single_getsock(const 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);
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);
Dasyn.h31 struct connectdata;
94 void Curl_resolver_cancel(struct connectdata *conn);
107 void Curl_resolver_kill(struct connectdata *conn);
117 int Curl_resolver_getsock(struct connectdata *conn, curl_socket_t *sock,
129 CURLcode Curl_resolver_is_resolved(struct connectdata *conn,
143 CURLcode Curl_resolver_wait_resolv(struct connectdata *conn,
157 Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
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()
261 static CURLcode deflate_init_writer(struct connectdata *conn, in deflate_init_writer()
280 static CURLcode deflate_unencode_write(struct connectdata *conn, in deflate_unencode_write()
298 static void deflate_close_writer(struct connectdata *conn, in deflate_close_writer()
318 static CURLcode gzip_init_writer(struct connectdata *conn, in gzip_init_writer()
434 static CURLcode gzip_unencode_write(struct connectdata *conn, in gzip_unencode_write()
562 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_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);
67 static int smb_getsock(struct connectdata *conn, curl_socket_t *socks,
69 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()
[all …]
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.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 …]
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,
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);
83 static unsigned int rtsp_conncheck(struct connectdata *check,
89 static int rtsp_getsock_do(struct connectdata *conn, in rtsp_getsock_do()
100 CURLcode rtp_client_write(struct connectdata *conn, char *ptr, size_t len);
[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 …]
Dpipeline.c60 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()
306 struct connectdata *conn) in Curl_recvpipe_head()
313 struct connectdata *conn) in Curl_sendpipe_head()
327 struct connectdata *conn) in Curl_pipeline_checkget_write()
350 struct connectdata *conn) in Curl_pipeline_checkget_read()
367 void Curl_pipeline_leave_write(struct connectdata *conn) in Curl_pipeline_leave_write()
375 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);

12345