26 #ifndef _PURPLE_SERVER_H_ 27 #define _PURPLE_SERVER_H_ 100 void serv_chat_whisper(
PurpleConnection *,
int,
const char *,
const char *);
103 void serv_got_alias(
PurpleConnection *gc,
const char *who,
const char *alias);
168 const char *who,
const char *message,
180 int id,
const char *name);
212 void serv_send_file(
PurpleConnection *gc,
const char *who,
const char *file);
PurpleAttentionType * purple_get_attention_type_from_code(PurpleAccount *account, guint type_code)
Get information about an account's attention commands, from the prpl.
PurpleMessageFlags
Flags applicable to a message.
void serv_got_chat_invite(PurpleConnection *gc, const char *name, const char *who, const char *message, GHashTable *data)
Called by a prpl when an account is invited into a chat.
void serv_got_typing_stopped(PurpleConnection *gc, const char *name)
TODO: Could probably move this into the conversation API.
void purple_serv_got_join_chat_failed(PurpleConnection *gc, GHashTable *data)
Called by a prpl when an attempt to join a chat via serv_join_chat() fails.
Structure representing an account.
PurpleTypingState
The typing state of a user.
void serv_got_chat_in(PurpleConnection *g, int id, const char *who, PurpleMessageFlags flags, const char *message, time_t mtime)
Called by a prpl when a message has been received in a chat.
void serv_got_attention(PurpleConnection *gc, const char *who, guint type_code)
Process an incoming attention message.
void serv_got_chat_left(PurpleConnection *g, int id)
Called by a prpl when an account has left a chat.
void serv_got_typing(PurpleConnection *gc, const char *name, int timeout, PurpleTypingState state)
Receive a typing message from a remote user.
Represents "nudges" and "buzzes" that you may send to a buddy to attract their attention (or vice-ver...
Protocol Plugin functions.
void serv_join_chat(PurpleConnection *, GHashTable *data)
PurpleConversation * serv_got_joined_chat(PurpleConnection *gc, int id, const char *name)
Called by a prpl when an account has joined a chat.
void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code)
Send an attention request message.
void serv_reject_chat(PurpleConnection *, GHashTable *data)
void purple_serv_got_private_alias(PurpleConnection *gc, const char *who, const char *alias)
A protocol plugin should call this when it retrieves a private alias from the server.
unsigned int serv_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state)
Send a typing message to a given user over a given connection.
A core representation of a conversation between two or more people.