curl-library
Using curl_easy_setopt in generic way
From: sachin dravid <sachin.dravid1_at_gmail.com>
Date: Thu, 19 Sep 2013 10:13:18 +0530
Date: Thu, 19 Sep 2013 10:13:18 +0530
Hello,
Use case
=========
I am working on a library, where I am getting map of (string) vs (void
*). Here string is name of CURL option and value comes as (void *).
Issue
=========
curl_easy_setopt takes CURLoption parameter which is actually an enum
and respectively value should be passed with proper type.
How can I use curl_easy_setopt function generically with string and void*?
-- Thanks and Regards, Sachin Dravid ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-09-19