diff options
author | James Booth <boothj5@gmail.com> | 2013-02-17 16:39:37 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-02-17 16:39:37 +0000 |
commit | e955df889445b7d30b02aaaf7f0bd92b7044f67a (patch) | |
tree | 0c5ae2ed1a2808d06388f0952bf1e6e44f79e7a5 /src/contact.c | |
parent | 91289b8d8d08635e6ced62f1280c1eb2bdbfd87e (diff) | |
download | profani-tty-e955df889445b7d30b02aaaf7f0bd92b7044f67a.tar.gz |
Colour title on /caps and /software output
Diffstat (limited to 'src/contact.c')
-rw-r--r-- | src/contact.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/contact.c b/src/contact.c index b63ff408..6a8dc7d3 100644 --- a/src/contact.c +++ b/src/contact.c @@ -223,6 +223,12 @@ p_contact_subscription(const PContact contact) return contact->subscription; } +Resource * +p_contact_get_resource(const PContact contact, const char * const resource) +{ + return g_hash_table_lookup(contact->available_resources, resource); +} + gboolean p_contact_pending_out(const PContact contact) { |