diff options
Diffstat (limited to 'src/jabber.h')
-rw-r--r-- | src/jabber.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/jabber.h b/src/jabber.h index da6570b3..b717fe2d 100644 --- a/src/jabber.h +++ b/src/jabber.h @@ -23,7 +23,21 @@ #ifndef JABBER_H #define JABBER_H -#include "common.h" +typedef enum { + JABBER_STARTED, + JABBER_CONNECTING, + JABBER_CONNECTED, + JABBER_DISCONNECTED +} jabber_conn_status_t; + +typedef enum { + PRESENCE_OFFLINE, + PRESENCE_ONLINE, + PRESENCE_AWAY, + PRESENCE_DND, + PRESENCE_CHAT, + PRESENCE_XA +} jabber_presence_t; void jabber_init(const int disable_tls); jabber_conn_status_t jabber_connection_status(void); |