aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.h
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-04-04 23:37:18 +0200
committerKamil Dudka <kdudka@redhat.com>2010-04-04 23:37:18 +0200
commitff8711135e9311d5a54c7210a5a87a86077271cb (patch)
treea6a1c8ee0167e6899a44f9fa34c97287d20a6c23 /lib/ssluse.h
parent7425db3fab04007ac2f4ac62d77c1838adb6177d (diff)
refactorize interface of Curl_ssl_recv/Curl_ssl_send
Diffstat (limited to 'lib/ssluse.h')
-rw-r--r--lib/ssluse.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/ssluse.h b/lib/ssluse.h
index 9e58d204b..00357afc5 100644
--- a/lib/ssluse.h
+++ b/lib/ssluse.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -56,15 +56,19 @@ struct curl_slist *Curl_ossl_engines_list(struct SessionHandle *data);
int Curl_ossl_init(void);
void Curl_ossl_cleanup(void);
+/* for documentation see Curl_ssl_send() in sslgen.h */
ssize_t Curl_ossl_send(struct connectdata *conn,
int sockindex,
const void *mem,
- size_t len);
+ size_t len,
+ int *curlcode);
+
+/* for documentation see Curl_ssl_recv() in sslgen.h */
ssize_t Curl_ossl_recv(struct connectdata *conn, /* connection data */
int num, /* socketindex */
char *buf, /* store read data here */
size_t buffersize, /* max amount to read */
- bool *wouldblock);
+ int *curlcode);
size_t Curl_ossl_version(char *buffer, size_t size);
int Curl_ossl_check_cxn(struct connectdata *cxn);