Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17313:7a0061f4845d
Add msim_uid2username_from_blist() to lookup a username by userid, by
looking at associated 'uid' ints on the buddy list. Not used yet because
it crashes the program. Purpose was to lookup the uid->username mapping
locally, avoiding the need to send a lookup request to the server, but it
is not there yet.
Also, add TODO comments for removal of msim_lookup_user()-related callbacks.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Thu, 07 Jun 2007 04:56:01 +0000 |
parents | 25a55b52855a |
children | d9aaccef8721 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Wed Jun 06 04:38:03 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Thu Jun 07 04:56:01 2007 +0000 @@ -117,6 +117,7 @@ gchar *userid; /**< This user's numeric user ID */ gint fd; /**< File descriptor to/from server */ + /* TODO: Remove. */ GHashTable *user_lookup_cb; /**< Username -> userid lookup callback */ GHashTable *user_lookup_cb_data; /**< Username -> userid lookup callback data */ GHashTable *user_lookup_cache; /**< Cached information on users */