diff options
Diffstat (limited to 'jabber.h')
-rw-r--r-- | jabber.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jabber.h b/jabber.h index 5de93a84..51d0cada 100644 --- a/jabber.h +++ b/jabber.h @@ -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, |