From d8844d9038e99e2d6175c4a2d99f36bde28deae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 18 Jun 2021 01:59:41 +0800 Subject: Revert "Container for post and callback" This reverts commit 0ca65138cf02d6c46e1857e911a142d08cdad761. --- icclient/typedefs.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'icclient') 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 #endif - #ifdef __EMSCRIPTEN__ - #include - typedef emscripten_fetch_t icclient_response; -typedef char icclient_post; - #else - -#include - 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 -- cgit v1.2.3