diff options
author | xengineering <me@xengineering.eu> | 2022-08-20 17:52:16 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-08-20 17:52:16 +0200 |
commit | 4e61f83b432350303aee5635e98d3bc147e8fffa (patch) | |
tree | 4ac40e73bbdc648b4cafefd4917df6cd6d1a5983 /net.h | |
parent | b661cc4bde4004f4d7085716680969f4659222a1 (diff) | |
download | limox-4e61f83b432350303aee5635e98d3bc147e8fffa.tar limox-4e61f83b432350303aee5635e98d3bc147e8fffa.tar.zst limox-4e61f83b432350303aee5635e98d3bc147e8fffa.zip |
Rename limox.{c,h} to net.{c,h}
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#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); + +#endif |