Home
last modified time | relevance | path

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

12345

/external/curl/lib/
Durl.h30 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn);
38 CURLcode Curl_connect(struct Curl_easy *, struct connectdata **,
40 CURLcode Curl_disconnect(struct connectdata *, bool dead_connection);
41 CURLcode Curl_protocol_connect(struct connectdata *conn, bool *done);
42 CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done);
43 CURLcode Curl_protocol_doing(struct connectdata *conn, bool *done);
44 CURLcode Curl_setup_conn(struct connectdata *conn,
48 int Curl_protocol_getsock(struct connectdata *conn,
51 int Curl_doing_getsock(struct connectdata *conn,
60 struct connectdata *
[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);
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 …]
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,
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);
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,
105 void Curl_tcpnodelay(struct connectdata *conn, curl_socket_t sockfd);
123 void Curl_conncontrol(struct connectdata *conn,
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);
Dsmtp.c89 static CURLcode smtp_regular_transfer(struct connectdata *conn, bool *done);
90 static CURLcode smtp_do(struct connectdata *conn, bool *done);
91 static CURLcode smtp_done(struct connectdata *conn, CURLcode status,
93 static CURLcode smtp_connect(struct connectdata *conn, bool *done);
94 static CURLcode smtp_disconnect(struct connectdata *conn, bool dead);
95 static CURLcode smtp_multi_statemach(struct connectdata *conn, bool *done);
96 static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks,
98 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done);
99 static CURLcode smtp_setup_connection(struct connectdata *conn);
100 static CURLcode smtp_parse_url_options(struct connectdata *conn);
[all …]
Dimap.c89 static CURLcode imap_regular_transfer(struct connectdata *conn, bool *done);
90 static CURLcode imap_do(struct connectdata *conn, bool *done);
91 static CURLcode imap_done(struct connectdata *conn, CURLcode status,
93 static CURLcode imap_connect(struct connectdata *conn, bool *done);
94 static CURLcode imap_disconnect(struct connectdata *conn, bool dead);
95 static CURLcode imap_multi_statemach(struct connectdata *conn, bool *done);
96 static int imap_getsock(struct connectdata *conn, curl_socket_t *socks,
98 static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done);
99 static CURLcode imap_setup_connection(struct connectdata *conn);
101 static CURLcode imap_sendf(struct connectdata *conn, const char *fmt, ...);
[all …]
Dtransfer.h28 CURLcode Curl_second_connect(struct connectdata *conn);
43 CURLcode Curl_readwrite(struct connectdata *conn,
46 int Curl_single_getsock(const struct connectdata *conn,
49 CURLcode Curl_readrewind(struct connectdata *conn);
50 CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
51 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
56 Curl_setup_transfer (struct connectdata *data,
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);
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,
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 …]
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,
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,
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);
184 static void conn_state(struct connectdata *conn, enum smb_conn_state newstate) in conn_state()
206 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.c41 struct connectdata *data = element; in conn_llist_dtor()
81 struct connectdata *conn) in bundle_add_conn()
94 struct connectdata *conn) in bundle_remove_conn()
131 static char *hashkey(struct connectdata *conn) in hashkey()
149 struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, in Curl_conncache_find_bundle()
198 struct connectdata *conn) in Curl_conncache_add_conn()
247 struct connectdata *conn) in Curl_conncache_remove_conn()
277 int (*func)(struct connectdata *conn, void *param)) in Curl_conncache_foreach()
299 struct connectdata *conn = curr->ptr; in Curl_conncache_foreach()
310 struct connectdata *
[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 …]
/external/curl/lib/vtls/
Dvtls.h69 int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
77 CURLcode Curl_ssl_connect(struct connectdata *conn, int sockindex);
78 CURLcode Curl_ssl_connect_nonblocking(struct connectdata *conn,
84 void Curl_ssl_close(struct connectdata *conn, int sockindex);
85 CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex);
94 bool Curl_ssl_data_pending(const struct connectdata *conn,
96 int Curl_ssl_check_cxn(struct connectdata *conn);
117 void Curl_ssl_sessionid_lock(struct connectdata *conn);
120 void Curl_ssl_sessionid_unlock(struct connectdata *conn);
128 bool Curl_ssl_getsessionid(struct connectdata *conn,
[all …]
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,
Dcyassl.h40 CURLcode Curl_cyassl_connect(struct connectdata *conn, int sockindex);
41 bool Curl_cyassl_data_pending(const struct connectdata* conn, int connindex);
42 int Curl_cyassl_shutdown(struct connectdata* conn, int sockindex);
45 void Curl_cyassl_close(struct connectdata *conn, int sockindex);
49 int Curl_cyassl_shutdown(struct connectdata *conn, int sockindex);
51 CURLcode Curl_cyassl_connect_nonblocking(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);
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,
Daxtls.h32 CURLcode Curl_axtls_connect(struct connectdata *conn, int sockindex);
34 struct connectdata *conn,
39 void Curl_axtls_close(struct connectdata *conn, int sockindex);
43 int Curl_axtls_shutdown(struct connectdata *conn, int sockindex);
44 int Curl_axtls_check_cxn(struct connectdata *conn);

12345