SSL support?

BlitzMax Forums/BlitzMax Programming/SSL support?

Raph(Posted 2007) [#1]
Is there a wrapper or a module for SSL support for BlitzMax? I've been searching the forums in vain for an hour...


Perturbatio(Posted 2007) [#2]
I've not seen one.

you could have a go at porting cURL


Brucey(Posted 2007) [#3]
Was considering it at one point, but don't have a need for it personally at the moment, so I didn't take it past the initial stages of finding a suitable library.


Raph(Posted 2007) [#4]
So I am trying to wrap just the "easy" part of libcurl. I have to come up with a way to Extern this function:

CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);


In C, this function takes an option, then an arbitrary data type:

curl_easy_setopt(curl, CURLOPT_POST, 0); 
curl_easy_setopt(curl, CURLOPT_URL, "urlStr"); 
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curlData); 


How do you Extern varargs?