summaryrefslogtreecommitdiff
path: root/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'request.c')
-rw-r--r--request.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/request.c b/request.c
index 7581fe7..6b6a07d 100644
--- a/request.c
+++ b/request.c
@@ -1,4 +1,9 @@
#include "request.h"
-extern inline void request(size_t (*)(void *, size_t, size_t, void *), void *
- , struct curl_httppost *, char *, ...);
+extern inline void request(icclient_handler, void *,
+#ifdef __EMSCRIPTEN__
+ int
+#else
+ struct curl_httppost *
+#endif
+ , char *, ...);