summaryrefslogtreecommitdiff
path: root/limox.h
diff options
context:
space:
mode:
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);