--- curl-7.21.1\include\curl\curl.h	2010-06-05 00:30:00.000000000 +0200
+++ curl-7.21.1-xware\include\curl\curl.h	2010-09-20 14:16:25.534475100 +0200
@@ -565,6 +566,11 @@
                                                             OpenSSL SSL_CTX */
                                           void *userptr);

+typedef CURLcode (*curl_ssl_cnt_callback)(CURL *curl, /* easy handle */
+                                          void *ssl,  /* actually an
+                                                         OpenSSL SSL */
+                                          void *userptr);
+
 typedef enum {
   CURLPROXY_HTTP = 0,   /* added in 7.10, new in 7.19.4 default is to use
                            CONNECT HTTP/1.1 */
@@ -1435,6 +1441,14 @@
   /* FNMATCH_FUNCTION user pointer */
   CINIT(FNMATCH_DATA, OBJECTPOINT, 202),

+  /* Set the ssl callback function. The function must be matching the
+     curl_ssl_cnt_callback proto. */
+  CINIT(SSL_CNT_FUNCTION, FUNCTIONPOINT, 203),
+
+  /* Set the userdata for the ssl context callback function's third
+     argument */
+  CINIT(SSL_CNT_DATA, OBJECTPOINT, 204),
+
   CURLOPT_LASTENTRY /* the last unused */
 } CURLoption;


