Added -notls argument and removed server name hack

Added jabber_conn struct to represent connections
This commit is contained in:
James Booth
2012-02-26 17:59:04 +00:00
parent a0e5cd28bb
commit 72d96a92f3
5 changed files with 70 additions and 41 deletions

View File

@@ -30,6 +30,7 @@ typedef enum {
JABBER_DISCONNECTED
} jabber_status_t;
void init_jabber(int disable_tls);
jabber_status_t jabber_connection_status(void);
jabber_status_t jabber_connect(char *user, char *passwd);
void jabber_disconnect(void);