aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
blob: 5bc5c6ea91cb0d3ceb59abc6c51c1846a8a15a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef NET_H
#define NET_H

#include <json-c/json.h>

size_t WriteMemoryCallback(void*, size_t, size_t, void*);
struct MemoryStruct* downloadToRam(const char* URL);
void downloadFile(const char*, const char*);
struct json_object* fetchJSON(const char*);

#endif