Refactor request building

This commit is contained in:
Dimitri Lozeve 2023-10-02 13:33:52 +02:00
parent 87c91fdb98
commit de7eb31ed0
2 changed files with 108 additions and 47 deletions

View file

@ -1,6 +1,7 @@
easyInit,
easyCleanup,
easyReset,
easySetoptStr,
easySetoptPtr,
easySetoptLong,
@ -28,6 +29,7 @@ curlCode←"i32"
easyInitCurlFFI curlPtr"curl_easy_init"
easyCleanupCurlFFI """curl_easy_cleanup"(">"curlPtr)
easyResetCurlFFI """curl_easy_reset"(">"curlPtr)
easySetoptStrCurlFFI curlCode"curl_easy_setopt"curlPtrcurlOption"*u8:c8"
easySetoptPtrCurlFFI curlCode"curl_easy_setopt"curlPtrcurlOption"*:i8"