summaryrefslogtreecommitdiff
path: root/limox.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-14 16:07:34 +0200
committerxengineering <me@xengineering.eu>2022-08-15 19:01:15 +0200
commit21a2b2033485c106a537e5e2302f4e4d96a66b94 (patch)
tree8457f0057596540eb193fcb3410d07071160aca3 /limox.h
parent2acca5d84a318f6c8858acb8ee7eca7e59369160 (diff)
downloadlimox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar.zst
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.zip
Implement XMPP connect / disconnect
Diffstat (limited to 'limox.h')
-rw-r--r--limox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/limox.h b/limox.h
new file mode 100644
index 0000000..90a3b76
--- /dev/null
+++ b/limox.h
@@ -0,0 +1,8 @@
+// life cycle / event loop related functions
+void limox_init(void); // initialize limox
+void limox_run_once(void); // process event loop for a short amount of time
+void limox_quit(void); // disconnect and clean up
+
+// interface for the GUI implementation
+void limox_connect(const char* jid, const char* password);
+void limox_disconnect(void);