From b377b8aa01f32fa5e6d59a64c84dfe8b50a6e63c Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 20 Nov 2022 10:49:03 +0100 Subject: Introduce dummy as second XMPP implementation It is currently evaluated if it is worth a trial to drop libstrophe as a dependency and use a raw TCP connection and a XML library like expat to implement the XMPP part. This would have the following advantages: - fewer dependencies - learning more about XMPP itself and less about libstrophe - slower, but maybe easier implementation (XMPP doc is far more readable / extensive) Because of these reasons the `limox_sdl2` version was switched to a dummy XMPP implementation `xmpp.c` which acts now as a test field for XMPP hacking. --- xmpp.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xmpp.c (limited to 'xmpp.c') diff --git a/xmpp.c b/xmpp.c new file mode 100644 index 0000000..d9645d1 --- /dev/null +++ b/xmpp.c @@ -0,0 +1,14 @@ + + +#include + + +void net_init(void) +{ + printf("net_init()\n"); +} + +void net_quit(void) +{ + printf("net_quit()\n"); +} -- cgit v1.2.3-70-g09d2