about summary refs log tree commit diff stats
path: root/jabber.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-05-27 19:29:43 +0100
committerJames Booth <boothj5@gmail.com>2012-05-27 19:29:43 +0100
commit9ccb58468a25b5e5caf52c31abd34e058c38590d (patch)
tree07a28a608ac753f1ef4f94a8409ad95cc57454a9 /jabber.h
parent619496f5dde61cccec8e5234ebe5ce34788e934c (diff)
downloadprofani-tty-9ccb58468a25b5e5caf52c31abd34e058c38590d.tar.gz
Added jabber_presence_t
Diffstat (limited to 'jabber.h')
-rw-r--r--jabber.h6
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,