aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-07-30 01:57:26 +0200
committerJan200101 <sentrycraft123@gmail.com>2020-07-30 01:57:26 +0200
commit8bdba8891071110fe3f04de81dbe375c9c1caa80 (patch)
treed29a9f4220e351a0f5dd5b4a028af9b76cc16203 /src/net.h
downloadpolecat-8bdba8891071110fe3f04de81dbe375c9c1caa80.tar.gz
polecat-8bdba8891071110fe3f04de81dbe375c9c1caa80.zip
Initial commit0.1.0
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