blob: 722c6bb5ef055929ffd45b9aed999f7c631ce7bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef NET_H
#define NET_H
#include <curl/curl.h>
#include <json.h>
#define TIMEOPT CURLINFO_TOTAL_TIME_T
size_t WriteMemoryCallback(void*, size_t, size_t, void*);
struct MemoryStruct* downloadToRam(const char* URL, long);
struct json_object* fetchJSON(const char*);
#endif
|