about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-10 12:29:36 +0000
committerJames Booth <boothj5@gmail.com>2013-02-10 12:29:36 +0000
commit88fc4a6425c107fee56071710d6ab6060f538e75 (patch)
treeeb33f4538086219bd8410c5d780ee30f5078c4a8
parent3bee45fa76a43567146b3733962a1058104a2da2 (diff)
downloadprofani-tty-88fc4a6425c107fee56071710d6ab6060f538e75.tar.gz
Added resource_presence_t
-rw-r--r--src/resource.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resource.h b/src/resource.h
index 491b33cc..6a5a8f3e 100644
--- a/src/resource.h
+++ b/src/resource.h
@@ -23,6 +23,14 @@
 #ifndef RESOURCE_H
 #define RESOURCE_H
 
+typedef enum {
+    RESOURCE_ONLINE,
+    RESOURCE_CHAT,
+    RESOURCE_AWAY,
+    RESOURCE_XA,
+    RESOURCE_DND
+} resource_presence_t;
+
 typedef struct resource_t {
     char *name;
     char *show;