Lines Matching refs:easy_setopt
69 #define easy_setopt(curl, opt, value, level, cmd) \
226 easy_setopt(curl, CURLOPT_POST, 1L,
229 easy_setopt(curl, CURLOPT_ERRORBUFFER, u->error,
233 easy_setopt(curl, CURLOPT_WRITEFUNCTION, output_callback,
236 easy_setopt(curl, CURLOPT_WRITEDATA, data,
240 easy_setopt(curl, CURLOPT_READFUNCTION, input_callback,
243 easy_setopt(curl, CURLOPT_READDATA, data,
247 easy_setopt(curl, CURLOPT_HTTPHEADER, u->header,
252 easy_setopt(curl, CURLOPT_VERBOSE, 1L, LOG_WARNING, );
254 easy_setopt(curl, CURLOPT_USERAGENT,
259 easy_setopt(curl, CURLOPT_SSLKEY, arg_key ?: PRIV_KEY_FILE,
261 easy_setopt(curl, CURLOPT_SSLCERT, arg_cert ?: CERT_FILE,
266 easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0,
269 easy_setopt(curl, CURLOPT_CAINFO, arg_trust ?: TRUST_FILE,
273 easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1,