aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-login.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-10-15 10:38:56 +0100
committerRichard van der Hoff <richard@matrix.org>2015-10-15 10:43:14 +0100
commit80af6b59c5cc7dbf927abab8a52b185590653918 (patch)
treeb049ce9984ef8d6bcdb0c518dc46eea2a0c93123 /matrix-login.h
parentd183825c3a74eab217b7b7463247c07156acd929 (diff)
downloadpurple-matrix-80af6b59c5cc7dbf927abab8a52b185590653918.tar.gz
Call initialSync
Our first API call, woohoo. At the moment we just call initialSync and don't do anything with the response. But it's satisfying progress.
Diffstat (limited to 'matrix-login.h')
-rw-r--r--matrix-login.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/matrix-login.h b/matrix-login.h
new file mode 100644
index 0000000..e2717bb
--- /dev/null
+++ b/matrix-login.h
@@ -0,0 +1,29 @@
+/**
+ * Implementation of the matrix login process
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+ */
+
+#ifndef MATRIX_LOGIN_H
+#define MATRIX_LOGIN_H
+
+#include "account.h"
+
+/**
+ * Set off the login process
+ */
+void matrixprpl_login(PurpleAccount *acct);
+
+#endif