summaryrefslogtreecommitdiff
path: root/request.c
blob: 75c30735ad7275c89ee5df91ce4fc11fb247908e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "request.h"

#ifdef __EMSCRIPTEN__
emscripten_fetch_attr_t attr;
#else
CURL *curl;
char *server_url;
#endif

extern inline void 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();