Mercurial > pidgin.yaz
diff libgaim/blist.h @ 14491:8a1c6ed3dde6
[gaim-migrate @ 17210]
SF Patch #1554418 from TiCPU
Adds gaim_buddy_get_server_alias().
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 09 Sep 2006 21:32:47 +0000 |
parents | 60b1bc8dbf37 |
children | 4124030c3f3a |
line wrap: on
line diff
--- a/libgaim/blist.h Sat Sep 09 21:32:30 2006 +0000 +++ b/libgaim/blist.h Sat Sep 09 21:32:47 2006 +0000 @@ -545,6 +545,13 @@ */ const char *gaim_buddy_get_alias_only(GaimBuddy *buddy); +/** + * Gets the server alias for a buddy. + * + * @param buddy The buddy whose name will be returned + * @return The server alias, or NULL if it is not set. + */ +const char *gaim_buddy_get_server_alias(GaimBuddy *buddy); /** * Returns the correct name to display for a buddy, taking the contact alias