diff options
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 |