Mercurial > pidgin.yaz
diff libpurple/server.h @ 22332:3232cc79fa51
This is part of a patch from felipec, also known as shx, that adds
purple_serv_got_private_alias for prpls to call after receiving a private
alias from the server.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Wed, 27 Feb 2008 00:41:51 +0000 |
parents | 6bf32c9e15a7 |
children | 17cda378a2dd 92e71f6e10d4 |
line wrap: on
line diff
--- a/libpurple/server.h Tue Feb 26 14:28:52 2008 +0000 +++ b/libpurple/server.h Wed Feb 27 00:41:51 2008 +0000 @@ -98,6 +98,17 @@ void serv_alias_buddy(PurpleBuddy *); void serv_got_alias(PurpleConnection *gc, const char *who, const char *alias); +/** + * A protocol plugin should call this when it retrieves a private alias from + * the server. Private aliases are the aliases the user sets, while public + * aliases are the aliases or display names that buddies set for themselves. + * + * @param gc The connection on which the alias was received. + * @param who The screen name of the buddy whose alias was received. + * @param alias The alias that was received. + */ +void purple_serv_got_private_alias(PurpleConnection *gc, const char *who, const char *alias); + /** * Receive a typing message from a remote user. Either PURPLE_TYPING