Added jabber_presence_t

This commit is contained in:
James Booth
2012-05-27 19:29:43 +01:00
parent 619496f5dd
commit 9ccb58468a
2 changed files with 11 additions and 0 deletions

View File

@@ -30,6 +30,12 @@ typedef enum {
JABBER_DISCONNECTED
} jabber_conn_status_t;
typedef enum {
PRESENCE_OFFLINE,
PRESENCE_ONLINE,
PRESENCE_AWAY
} jabber_presence_t;
void jabber_init(const int disable_tls);
jabber_conn_status_t jabber_connection_status(void);
jabber_conn_status_t jabber_connect(const char * const user,