summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-11-27 18:53:12 +0100
committerxengineering <me@xengineering.eu>2022-11-27 19:07:49 +0100
commit2efc9022bf064136bb7cd25bd59971f2b419ff48 (patch)
tree87ea72030a3bb28f1ddba1675482a9346c5df814 /net.h
parent8b9ce1d7848bd8ad417a3834d11e1b00c028f8eb (diff)
downloadlimox-2efc9022bf064136bb7cd25bd59971f2b419ff48.tar
limox-2efc9022bf064136bb7cd25bd59971f2b419ff48.tar.zst
limox-2efc9022bf064136bb7cd25bd59971f2b419ff48.zip
Switch completely to SDL2 version
The now legacy version of LimoX with GTK4 and libstrophe is now not part of the main branch anymore. There might be a legacy branch keeping this version at the time of reading. This cut of implemented functionality is motivated by these reasons: - Implementing XMPP is fun, educative and gives full control. - Low level graphics with SDL2 is portable, fast, educative an mature. - I do not have to use GLib and a crazy event loop anymore (run and hide)
Diffstat (limited to 'net.h')
-rw-r--r--net.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/net.h b/net.h
deleted file mode 100644
index 3bd184a..0000000
--- a/net.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef NET_H
-#define NET_H
-
-// life cycle / event loop related functions
-void net_init(void); // initialize net
-void net_run_once(void); // process event loop for a short amount of time
-void net_quit(void); // disconnect and clean up
-
-// interface for the GUI implementation
-void net_connect(const char* jid, const char* password);
-void net_disconnect(void);
-void net_send_message(const char* sender, const char* content,
- const char* recipient);
-#endif