summaryrefslogtreecommitdiff
path: root/libgs/src/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgs/src/http.h')
-rw-r--r--libgs/src/http.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgs/src/http.h b/libgs/src/http.h
new file mode 100644
index 0000000..a0d850d
--- /dev/null
+++ b/libgs/src/http.h
@@ -0,0 +1,9 @@
+#ifndef __GS_HTTP_H
+#define __GS_HTTP_H
+
+int gs_http_init();
+void gs_http_cleanup();
+char *gs_http_get(const char *url, const char *token);
+char *gs_http_post(const char *url, const char *token, const char *data);
+
+#endif