curl_setopts_authenticate   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/curl.xtm

Implementation

(bind-func curl_setopts_authenticate
  (lambda (handle user:i8* password:i8*)
    (let ((userpass:i8* (salloc 256)))
      (sprintf userpass "%s:%s" user password)
      (curl_easy_setopt handle CURLOPT_USERPWD userpass))))


Back to Index

Similar Entries

  • curl    macro
  • curl_perform_request    xtlang
  • curl_print_version    xtlang
  • curl_request    xtlang
  • curl_request_with_auth    xtlang
  • curl_request_with_header    xtlang
  • curl_setopts_basic    xtlang
  • curl_setopts_header    xtlang
  • curl_setup    xtlang
  • curl_write_callback    xtlang