blob: 95bf9ec73919dc507d8c5db413b802a89b355976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef NET_H
#define NET_H
#include <curl/curl.h>
#include <json.h>
void net_init(void);
void net_deinit(void);
struct MemoryStruct* downloadToRam(const char* URL, int);
void downloadToFile(const char*, const char*, int);
struct json_object* fetchJSON(const char*);
#endif
|