summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 01:59:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-18 01:59:41 +0800
commitd8844d9038e99e2d6175c4a2d99f36bde28deae9 (patch)
treebe50732bce9d0c098bf042347bac1339f7559f9d /icclient
parent4aef78b56e9ee5f51ce80171288242c8881842f0 (diff)
Revert "Container for post and callback"
This reverts commit 0ca65138cf02d6c46e1857e911a142d08cdad761.
Diffstat (limited to 'icclient')
-rw-r--r--icclient/typedefs.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/icclient/typedefs.h b/icclient/typedefs.h
index 73d8adf..80e09b1 100644
--- a/icclient/typedefs.h
+++ b/icclient/typedefs.h
@@ -4,30 +4,15 @@
#ifdef __cplusplus
#include <cstddef>
#endif
-
#ifdef __EMSCRIPTEN__
-
#include <emscripten/fetch.h>
-
typedef emscripten_fetch_t icclient_response;
-typedef char icclient_post;
-
#else
-
-#include <curl/curl.h>
-
typedef struct {
void *userData;
char *data;
size_t numBytes;
} icclient_response;
-typedef struct curl_httppost icclient_post;
-
#endif
-struct icclient_post_callback {
- icclient_post *post;
- void (*callback)(void *);
-};
-
#endif