summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2009-08-26 17:48:36 +0100
committerDafydd Harries <dafydd.harries@collabora.co.uk>2009-09-03 00:47:40 +0100
commitb48ca16964bf2df27f5c3e0ac5bf0cba345260d1 (patch)
tree7616d7b0cdcfa27a0840482bbc74dc75260a5678 /src/util.h
parent729754a35a0dd5b70ef65f09387d6ed636a5a390 (diff)
add gabble_encode_jid() and replace ad-hoc string concatentation with calls to it
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 1cf1ddf3e..fe1b5b613 100644
--- a/src/util.h
+++ b/src/util.h
@@ -63,6 +63,8 @@ G_GNUC_NULL_TERMINATED LmMessage * lm_message_build_with_sub_type (
G_GNUC_WARN_UNUSED_RESULT
gboolean gabble_decode_jid (const gchar *jid, gchar **a, gchar **b, gchar **c);
+gchar *gabble_encode_jid (const gchar *node, const gchar *domain,
+ const gchar *resource);
gchar *gabble_remove_resource (const gchar *jid);
gchar *gabble_normalize_contact (TpHandleRepoIface *repo, const gchar *jid,