summaryrefslogtreecommitdiff
path: root/request.c
blob: 2bd95d5fd375101e24b6a1fbb954e0bd10bd5b9f (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 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();