Colour title on /caps and /software output

This commit is contained in:
James Booth
2013-02-17 16:39:37 +00:00
parent 91289b8d8d
commit e955df8894
8 changed files with 130 additions and 65 deletions

View File

@@ -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)
{