From 477e1ba2977435ae7bb75c7dbd95cf28247f89bd Mon Sep 17 00:00:00 2001 From: nirav Date: Thu, 28 Mar 2019 09:10:52 +0530 Subject: Move APIs into libgs dir --- libgs/src/http.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libgs/src/http.h (limited to 'libgs/src/http.h') 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 -- cgit v1.2.3