summaryrefslogtreecommitdiff
path: root/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'request.c')
-rw-r--r--request.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/request.c b/request.c
index 6b6a07d..2bd95d5 100644
--- a/request.c
+++ b/request.c
@@ -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();