comparison 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
comparison
equal deleted inserted replaced
22331:981169c12d12 22332:3232cc79fa51
96 void serv_chat_whisper(PurpleConnection *, int, const char *, const char *); 96 void serv_chat_whisper(PurpleConnection *, int, const char *, const char *);
97 int serv_chat_send(PurpleConnection *, int, const char *, PurpleMessageFlags flags); 97 int serv_chat_send(PurpleConnection *, int, const char *, PurpleMessageFlags flags);
98 void serv_alias_buddy(PurpleBuddy *); 98 void serv_alias_buddy(PurpleBuddy *);
99 void serv_got_alias(PurpleConnection *gc, const char *who, const char *alias); 99 void serv_got_alias(PurpleConnection *gc, const char *who, const char *alias);
100 100
101 /**
102 * A protocol plugin should call this when it retrieves a private alias from
103 * the server. Private aliases are the aliases the user sets, while public
104 * aliases are the aliases or display names that buddies set for themselves.
105 *
106 * @param gc The connection on which the alias was received.
107 * @param who The screen name of the buddy whose alias was received.
108 * @param alias The alias that was received.
109 */
110 void purple_serv_got_private_alias(PurpleConnection *gc, const char *who, const char *alias);
111
101 112
102 /** 113 /**
103 * Receive a typing message from a remote user. Either PURPLE_TYPING 114 * Receive a typing message from a remote user. Either PURPLE_TYPING
104 * or PURPLE_TYPED. If the user has stopped typing then use 115 * or PURPLE_TYPED. If the user has stopped typing then use
105 * serv_got_typing_stopped instead. 116 * serv_got_typing_stopped instead.