Lines Matching refs:sockindex

85 static CURLcode verify_certificate(struct connectdata *conn, int sockindex);
105 schannel_connect_step1(struct connectdata *conn, int sockindex) in schannel_connect_step1() argument
109 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step1()
355 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer, in schannel_connect_step1()
378 schannel_connect_step2(struct connectdata *conn, int sockindex) in schannel_connect_step2() argument
383 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step2()
447 result = Curl_read_plain(conn->sock[sockindex], in schannel_connect_step2()
537 result = Curl_write_plain(conn, conn->sock[sockindex], in schannel_connect_step2()
612 return verify_certificate(conn, sockindex); in schannel_connect_step2()
619 schannel_connect_step3(struct connectdata *conn, int sockindex) in schannel_connect_step3() argument
623 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step3()
753 schannel_connect_common(struct connectdata *conn, int sockindex, in schannel_connect_common() argument
758 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_common()
759 curl_socket_t sockfd = conn->sock[sockindex]; in schannel_connect_common()
779 result = schannel_connect_step1(conn, sockindex); in schannel_connect_common()
833 result = schannel_connect_step2(conn, sockindex); in schannel_connect_common()
843 result = schannel_connect_step3(conn, sockindex); in schannel_connect_common()
850 conn->recv[sockindex] = schannel_recv; in schannel_connect_common()
851 conn->send[sockindex] = schannel_send; in schannel_connect_common()
864 schannel_send(struct connectdata *conn, int sockindex, in schannel_send() argument
870 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_send()
962 what = Curl_socket_ready(CURL_SOCKET_BAD, conn->sock[sockindex], in schannel_send()
980 result = Curl_write_plain(conn, conn->sock[sockindex], data + written, in schannel_send()
1011 schannel_recv(struct connectdata *conn, int sockindex, in schannel_recv() argument
1017 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_recv()
1091 *err = Curl_read_plain(conn->sock[sockindex], in schannel_recv()
1223 *err = schannel_connect_common(conn, sockindex, FALSE, &done); in schannel_recv()
1321 Curl_schannel_connect_nonblocking(struct connectdata *conn, int sockindex, in Curl_schannel_connect_nonblocking() argument
1324 return schannel_connect_common(conn, sockindex, TRUE, done); in Curl_schannel_connect_nonblocking()
1328 Curl_schannel_connect(struct connectdata *conn, int sockindex) in Curl_schannel_connect() argument
1333 result = schannel_connect_common(conn, sockindex, FALSE, &done); in Curl_schannel_connect()
1342 bool Curl_schannel_data_pending(const struct connectdata *conn, int sockindex) in Curl_schannel_data_pending() argument
1344 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_schannel_data_pending()
1353 void Curl_schannel_close(struct connectdata *conn, int sockindex) in Curl_schannel_close() argument
1355 if(conn->ssl[sockindex].use) in Curl_schannel_close()
1357 Curl_ssl_shutdown(conn, sockindex); in Curl_schannel_close()
1360 int Curl_schannel_shutdown(struct connectdata *conn, int sockindex) in Curl_schannel_shutdown() argument
1366 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_schannel_shutdown()
1418 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer, in Curl_schannel_shutdown()
1508 static CURLcode verify_certificate(struct connectdata *conn, int sockindex) in verify_certificate() argument
1512 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in verify_certificate()