diff options
author | Senko Rasic <senko.rasic@collabora.co.uk> | 2010-07-22 13:01:47 +0200 |
---|---|---|
committer | Senko Rasic <senko.rasic@collabora.co.uk> | 2010-08-05 15:02:56 +0200 |
commit | f76b18abc4819c8dfce3b59b4000f9b4dad45e57 (patch) | |
tree | bc14c64b51b0f0e6b66631d4b83f510754263f67 | |
parent | 5ab5481e174399b79b2bee369105b8e92db5639b (diff) |
add comments for gabble_normalize_contact()
In particular, document that repo argument may be NULL
-rw-r--r-- | src/util.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c index 15dc1aee4..97dbbda57 100644 --- a/src/util.c +++ b/src/util.c @@ -484,6 +484,19 @@ gabble_encode_jid ( return ret; } +/* + * gabble_normalize_contact + * @repo: The %TP_HANDLE_TYPE_ROOM handle repository or NULL + * @jid: A JID + * @context: One of %GabbleNormalizeContactJIDMode casted into gpointer + * @error: pointer in which to return a GError in case of failure. + * + * Normalize contact JID. If @repo is provided and the context is not + * clear (we don't know for sure whether it's global or room JID), it's + * used to try and detect room JIDs. + * + * Returns: Normalized JID. + */ gchar * gabble_normalize_contact (TpHandleRepoIface *repo, const gchar *jid, |