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