blob: 3a53d9e6603a73e636749855c8a971323a1f9658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|