diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-06 14:21:51 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-07 15:27:05 +0100 |
commit | c0e658ed4e99555466e5d1c09140f43cb4faf898 (patch) | |
tree | fbc54605ed856d020f3075bb0c0bc39ef867ee07 /gabble | |
parent | d96a1a927959b43586a888c56d45ab8b23b60de0 (diff) |
connection: add pick_best_resource_for_caps function
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'gabble')
-rw-r--r-- | gabble/connection.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gabble/connection.h b/gabble/connection.h index 6da5d8a7e..2de081b37 100644 --- a/gabble/connection.h +++ b/gabble/connection.h @@ -65,6 +65,12 @@ gchar *gabble_connection_get_full_jid (GabbleConnection *conn); const gchar * gabble_connection_get_jid_for_caps (GabbleConnection *conn, WockyXep0115Capabilities *caps); +const gchar * gabble_connection_pick_best_resource_for_caps ( + GabbleConnection *connection, + const gchar *jid, + GabbleCapabilitySetPredicate predicate, + gconstpointer user_data); + G_END_DECLS #endif |