curl_request_with_header   xtlang


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

Implementation

(bind-func curl_request_with_header
  (let ((handle:CURL null)
        (cdat:curl_dat* (zalloc)))
    (lambda (url:i8* dat:i8* header:i8*)
      ;; init data structures
      (set! handle (curl_easy_init))
      (tset! cdat 0 dat)
      (tset! cdat 1 0)
      (curl_easy_setopt handle CURLOPT_URL url)
      (curl_setopts_basic handle cdat)
      (let ((header_slist (curl_setopts_header handle header)))
        (curl_perform_request handle cdat)
        (curl_slist_free_all header_slist))
      cdat)))


Back to Index

Similar Entries

  • FBO_create_with_textures    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • Widget_with_cb    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • bindfunc_with_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size_and_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • call-with-input-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • call-with-output-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • curl    macro    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • curl_perform_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_print_version    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request_with_auth    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_authenticate    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_basic    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_header    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setup    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_write_callback    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • define-with-return    macro    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • draw_color_body_frame_with_hands    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • fill_buffer_with_file    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • get_request_handler    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • ghttp_copy_request_body_into_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_request_with_setup_fn    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_body    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_full    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_headers    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_request_body_as_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • gl_print_error_with_msg    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opengl.xtm
  • gui_find_widget_with_id    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • impc:aot:insert-header    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-bad-type-error-with-ast    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:compiler:heap-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:heap-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:stack-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:stack-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:initialize-closure-with-new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • ipc:proc-name-with-mapping    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • make-list-with-proc    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • make-vector-with-proc    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • pm_device_with_id    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • pm_input_device_with_name    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_output_device_with_name    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • print-with-colors    macro    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • qr_create_with_level    xtlang    /digego/extempore/tree/v0.8.9/libs/external/qr-code.xtm
  • request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • return_ptr_gv_first_with_docstring    xtlang    /digego/extempore/tree/v0.8.9/tests/core/aot-compilation.xtm
  • return_ptr_gv_second_with_docstring    xtlang    /digego/extempore/tree/v0.8.9/tests/core/aot-compilation.xtm
  • send_request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-request.xtm
  • set_cairo_source_with_colour    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/spectral_meter.xtm
  • set_up_request_socket    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • sys:with-noisy-compiler    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • sys:with-quiet-compiler    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • thread_native_call_with_zone    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • unzip1-with-cdr    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • unzip1-with-cdr-iterative    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-input-from-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-input-output-from-to-files    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-output-to-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • xtmtest-with-fixture    macro    /digego/extempore/tree/v0.8.9/libs/core/test.xtm
  • xtmtest-with-fixture-body    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • xtmtest-with-fixture-body    scheme    /digego/extempore/tree/v0.8.9/libs/core/test.xtm