aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
new file mode 100644
index 0000000..2b203fa
--- /dev/null
+++ b/src/net.h
@@ -0,0 +1,10 @@
+#ifndef NET_H
+#define NET_H
+
+#include <json.h>
+
+size_t WriteMemoryCallback(void*, size_t, size_t, void*);
+int downloadFile(const char*, const char*);
+struct json_object* fetchJSON(const char*);
+
+#endif \ No newline at end of file