diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-12 14:44:30 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-12 14:44:30 +0800 |
| commit | 3947ac9a60018f395558731027e26db8953090bb (patch) | |
| tree | 0f77a63d06127c43a5fcddd3cad963d4a0f2330d /request.c | |
| parent | a7f4dba7c9c0738545c8b41b4185bd5ec9feb099 (diff) | |
Move all libcurl related stuff to request
Diffstat (limited to 'request.c')
| -rw-r--r-- | request.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,9 +1,12 @@ #include "request.h" -extern inline void request(icclient_handler, void *, #ifdef __EMSCRIPTEN__ - int +emscripten_fetch_attr_t attr; #else - struct curl_httppost * +CURL *curl; +char *server_url; #endif - , char *, ...); + +extern inline bool icclient_request_init(const char *, const char *); +extern inline void request(icclient_handler, void *, struct icclient_request_data *, char *, ...); +extern inline void icclient_request_cleanup(); |