summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build4
-rw-r--r--strophe.c (renamed from net.c)0
-rw-r--r--xmpp.c14
3 files changed, 16 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index e683f16..8a21907 100644
--- a/meson.build
+++ b/meson.build
@@ -2,5 +2,5 @@ project('LimoX', 'c')
gtkdep = dependency('gtk4')
strophedep = dependency('libstrophe')
sdl2dep = dependency('sdl2')
-executable('limox', ['main.c', 'gtk.c', 'net.c', 'data.c'], dependencies : [gtkdep, strophedep])
-executable('limox_sdl2', ['main.c', 'sdl2.c', 'net.c', 'data.c'], dependencies : [sdl2dep, strophedep])
+executable('limox', ['main.c', 'gtk.c', 'strophe.c', 'data.c'], dependencies : [gtkdep, strophedep])
+executable('limox_sdl2', ['main.c', 'sdl2.c', 'xmpp.c', 'data.c'], dependencies : [sdl2dep])
diff --git a/net.c b/strophe.c
index c037bc1..c037bc1 100644
--- a/net.c
+++ b/strophe.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 <stdio.h>
+
+
+void net_init(void)
+{
+ printf("net_init()\n");
+}
+
+void net_quit(void)
+{
+ printf("net_quit()\n");
+}