diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-11-14 11:10:43 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-11-14 11:10:43 +0800 |
commit | 8fe15035d1d08e2e628be26f73044baa58e459c4 (patch) | |
tree | cd5a7aca507851a8c99fa64adeaee5b250deeed9 /icclient/typedefs.h | |
parent | ddeb72bd001a0486d11c76bda995bebedf85f509 (diff) |
One handle for every thread
See libcurl-tutorial(3) manual page, "Handle the Easy libcurl".
Diffstat (limited to 'icclient/typedefs.h')
-rw-r--r-- | icclient/typedefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/icclient/typedefs.h b/icclient/typedefs.h index 6876144..4bb6dcc 100644 --- a/icclient/typedefs.h +++ b/icclient/typedefs.h @@ -6,10 +6,12 @@ #include <emscripten/fetch.h> typedef emscripten_fetch_t icclient_response; #else +#include <curl/curl.h> typedef struct { void *userData; char *data; size_t numBytes; + CURL *curl; } icclient_response; #endif |