Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
17312:962edb051146 | 17313:7a0061f4845d |
---|---|
115 PurpleConnection *gc; | 115 PurpleConnection *gc; |
116 guint sesskey; /**< Session key from server */ | 116 guint sesskey; /**< Session key from server */ |
117 gchar *userid; /**< This user's numeric user ID */ | 117 gchar *userid; /**< This user's numeric user ID */ |
118 gint fd; /**< File descriptor to/from server */ | 118 gint fd; /**< File descriptor to/from server */ |
119 | 119 |
120 /* TODO: Remove. */ | |
120 GHashTable *user_lookup_cb; /**< Username -> userid lookup callback */ | 121 GHashTable *user_lookup_cb; /**< Username -> userid lookup callback */ |
121 GHashTable *user_lookup_cb_data; /**< Username -> userid lookup callback data */ | 122 GHashTable *user_lookup_cb_data; /**< Username -> userid lookup callback data */ |
122 GHashTable *user_lookup_cache; /**< Cached information on users */ | 123 GHashTable *user_lookup_cache; /**< Cached information on users */ |
123 | 124 |
124 gchar *rxbuf; /**< Receive buffer */ | 125 gchar *rxbuf; /**< Receive buffer */ |