diff options
author | James Booth <boothj5@gmail.com> | 2012-05-27 19:29:43 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-05-27 19:29:43 +0100 |
commit | 9ccb58468a25b5e5caf52c31abd34e058c38590d (patch) | |
tree | 07a28a608ac753f1ef4f94a8409ad95cc57454a9 /jabber.h | |
parent | 619496f5dde61cccec8e5234ebe5ce34788e934c (diff) | |
download | profani-tty-9ccb58468a25b5e5caf52c31abd34e058c38590d.tar.gz |
Added jabber_presence_t
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, |