Mercurial > pidgin
comparison libpurple/prpl.h @ 21039:5af17c5a4a12
Document PurplePluginProtocolInfo.get_cb_real_name
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 28 Oct 2007 16:51:48 +0000 |
parents | 42ecde230f91 |
children | eb0f36c3a58f |
comparison
equal
deleted
inserted
replaced
21038:ec9c30ce628d | 21039:5af17c5a4a12 |
---|---|
337 */ | 337 */ |
338 void (*set_buddy_icon)(PurpleConnection *, PurpleStoredImage *img); | 338 void (*set_buddy_icon)(PurpleConnection *, PurpleStoredImage *img); |
339 | 339 |
340 void (*remove_group)(PurpleConnection *gc, PurpleGroup *group); | 340 void (*remove_group)(PurpleConnection *gc, PurpleGroup *group); |
341 | 341 |
342 /** Gets the real name of a participant in a chat. For example, on | |
343 * XMPP this turns a chat room nick <tt>foo</tt> into | |
344 * <tt>room@server/foo</tt> | |
345 * @param gc the connection on which the room is. | |
346 * @param id the ID of the chat room. | |
347 * @param who the nickname of the chat participant. | |
348 * @return the real name of the participant. This string must be | |
349 * freed by the caller. | |
350 */ | |
342 char *(*get_cb_real_name)(PurpleConnection *gc, int id, const char *who); | 351 char *(*get_cb_real_name)(PurpleConnection *gc, int id, const char *who); |
343 | 352 |
344 void (*set_chat_topic)(PurpleConnection *gc, int id, const char *topic); | 353 void (*set_chat_topic)(PurpleConnection *gc, int id, const char *topic); |
345 | 354 |
346 PurpleChat *(*find_blist_chat)(PurpleAccount *account, const char *name); | 355 PurpleChat *(*find_blist_chat)(PurpleAccount *account, const char *name); |