diff options
author | James Booth <boothj5@gmail.com> | 2013-02-17 00:05:57 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-02-17 00:05:57 +0000 |
commit | a84e4adee718fbff87cbcb5a82fcb9496d701211 (patch) | |
tree | 272fa913713628fd95e338d763777674111d69f7 /src/resource.h | |
parent | 6794fb8101e9947be44644ce7c525f264f16a11a (diff) | |
download | profani-tty-a84e4adee718fbff87cbcb5a82fcb9496d701211.tar.gz |
Show all resources ordered by priority with /info command
Diffstat (limited to 'src/resource.h')
-rw-r--r-- | src/resource.h | 2 |
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 |