about summary refs log tree commit diff stats
path: root/src/resource.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-17 00:05:57 +0000
committerJames Booth <boothj5@gmail.com>2013-02-17 00:05:57 +0000
commita84e4adee718fbff87cbcb5a82fcb9496d701211 (patch)
tree272fa913713628fd95e338d763777674111d69f7 /src/resource.h
parent6794fb8101e9947be44644ce7c525f264f16a11a (diff)
downloadprofani-tty-a84e4adee718fbff87cbcb5a82fcb9496d701211.tar.gz
Show all resources ordered by priority with /info command
Diffstat (limited to 'src/resource.h')
-rw-r--r--src/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resource.h b/src/resource.h
index 534153e4..1db5dc0f 100644
--- a/src/resource.h
+++ b/src/resource.h
@@ -37,4 +37,6 @@ Resource * resource_new(const char * const name, resource_presence_t presence,
     const char * const status, const int priority, const char * const caps_str);
 void resource_destroy(Resource *resource);
 
+int resource_compare_availability(Resource *first, Resource *second);
+
 #endif