curl_setup   xtlang


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

Implementation

(bind-func curl_setup
  (lambda ()
    (let ((status (curl_global_init CURL_GLOBAL_ALL)))
      (if (= status 0)
          (curl_print_version)
          (printf "cURL initialisation error code: %d\n" status)))))


Back to Index

Similar Entries