26#ifndef _PURPLE_SERVER_H_
27#define _PURPLE_SERVER_H_
103void serv_got_alias(
PurpleConnection *gc,
const char *who,
const char *alias);
168 const char *who,
const char *message,
180 int id,
const char *name);
212void serv_send_file(
PurpleConnection *gc,
const char *who,
const char *file);
PurpleTypingState
The typing state of a user.
PurpleMessageFlags
Flags applicable to a message.
Protocol Plugin functions.
void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code)
Send an attention request message.
void serv_reject_chat(PurpleConnection *, GHashTable *data)
PurpleAttentionType * purple_get_attention_type_from_code(PurpleAccount *account, guint type_code)
Get information about an account's attention commands, from the prpl.
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.
void serv_got_typing(PurpleConnection *gc, const char *name, int timeout, PurpleTypingState state)
Receive a typing message from a remote user.
void serv_got_chat_left(PurpleConnection *g, int id)
Called by a prpl when an account has left a chat.
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_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.
unsigned int serv_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state)
Send a typing message to a given user over a given connection.
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_join_chat(PurpleConnection *, GHashTable *data)
void serv_got_typing_stopped(PurpleConnection *gc, const char *name)
TODO: Could probably move this into the conversation API.
void serv_got_attention(PurpleConnection *gc, const char *who, guint type_code)
Process an incoming attention message.
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.
Structure representing an account.
Represents "nudges" and "buzzes" that you may send to a buddy to attract their attention (or vice-ver...
A core representation of a conversation between two or more people.