summaryrefslogtreecommitdiff
path: root/libgs/src/auth.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-03-28 09:10:52 +0530
committernirav <nirav@teisuu.com>2019-03-28 09:10:52 +0530
commit477e1ba2977435ae7bb75c7dbd95cf28247f89bd (patch)
treece1f9719a7d11bbd47e9adea26dd610bc087962e /libgs/src/auth.h
parentcc727e972f7fdc871ee1f42cf014151b67422bf0 (diff)
downloadap_client-477e1ba2977435ae7bb75c7dbd95cf28247f89bd.tar.gz
ap_client-477e1ba2977435ae7bb75c7dbd95cf28247f89bd.zip
Move APIs into libgs dirHEADmaster
Diffstat (limited to 'libgs/src/auth.h')
-rw-r--r--libgs/src/auth.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgs/src/auth.h b/libgs/src/auth.h
new file mode 100644
index 0000000..431e0d7
--- /dev/null
+++ b/libgs/src/auth.h
@@ -0,0 +1,12 @@
+#ifndef __GS_AUTH_H
+#define __GS_AUTH_H
+
+#include <stdbool.h>
+#include "client.h"
+
+int gs_auth_authenticate(GSClient *c, const char *email, const char *password);
+bool gs_auth_is_logged_in(GSClient *c);
+
+
+#endif
+