From 21a2b2033485c106a537e5e2302f4e4d96a66b94 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 14 Aug 2022 16:07:34 +0200 Subject: Implement XMPP connect / disconnect --- limox.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 limox.h (limited to 'limox.h') 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); -- cgit v1.2.3-70-g09d2