#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