curl_setopts_header   xtlang


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

Implementation

(bind-func curl_setopts_header
  (let ((header_slist:curl_slist* null))
    (lambda (handle header_string:i8*)
      (set! header_slist (curl_slist_append header_slist header_string))
      (curl_easy_setopt handle CURLOPT_HTTPHEADER (cast header_slist i8*))
      header_slist)))


Back to Index

Similar Entries