public static extern CURLE curl_easy_setopt_ptr(IntPtr easyPtr, CURLOPT option, Delegates.ProgressFunction arg);
public static extern CURLE curl_easy_setopt_str(IntPtr easyPtr, CURLOPT option, string arg);
public static extern CURLE curl_easy_setopt_ptr(IntPtr easyPtr, CURLOPT option, byte[] arg);
public static extern CURLE curl_easy_setopt_int(IntPtr easyPtr, CURLOPT option, bool arg);
public CURLE SetOpt(CURLOPT options, Delegates.ProgressFunction value) { return(Lib.curl_easy_setopt_ptr(easyPtr, options, value)); }
public CURLE SetOpt(CURLOPT options, byte[] value) { return(Lib.curl_easy_setopt_ptr(easyPtr, options, value)); }
public CURLE SetOpt(CURLOPT options, string value) { return(Lib.curl_easy_setopt_str(easyPtr, options, value)); }
public CURLE SetOpt(CURLOPT options, bool value) { return(Lib.curl_easy_setopt_int(easyPtr, options, value)); }