summaryrefslogtreecommitdiff
path: root/lib/polarssl.h
diff options
context:
space:
mode:
authorDag Ekengren <dag@spotify.com>2012-03-27 14:10:32 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-04-05 00:18:34 +0200
commit5e852ab9d158e8400f3b3ea53828237ed0570730 (patch)
treeeb42dc69ec7a5290ad09efd75e20953f74a7b1b1 /lib/polarssl.h
parentf9bb5d2984de26e09662dd41eae49ff5bf413e1d (diff)
downloadcurl-5e852ab9d158e8400f3b3ea53828237ed0570730.tar.gz
PolarSSL: add support for asynchronous connect
Diffstat (limited to 'lib/polarssl.h')
-rw-r--r--lib/polarssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/polarssl.h b/lib/polarssl.h
index 91f63afbf..ad655465e 100644
--- a/lib/polarssl.h
+++ b/lib/polarssl.h
@@ -27,6 +27,10 @@
CURLcode Curl_polarssl_connect(struct connectdata *conn, int sockindex);
+CURLcode Curl_polarssl_connect_nonblocking(struct connectdata *conn,
+ int sockindex,
+ bool *done);
+
/* tell PolarSSL to close down all open information regarding connections (and
thus session ID caching etc) */
void Curl_polarssl_close_all(struct SessionHandle *data);
@@ -42,6 +46,7 @@ int Curl_polarssl_shutdown(struct connectdata *conn, int sockindex);
#define curlssl_init() (1)
#define curlssl_cleanup() Curl_nop_stmt
#define curlssl_connect Curl_polarssl_connect
+#define curlssl_connect_nonblocking Curl_polarssl_connect_nonblocking
#define curlssl_session_free(x) Curl_polarssl_session_free(x)
#define curlssl_close_all Curl_polarssl_close_all
#define curlssl_close Curl_polarssl_close