Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

_GaimPluginProtocolInfo Struct Reference

A protocol plugin information structure. More...

#include <prpl.h>

Collaboration diagram for _GaimPluginProtocolInfo:

Collaboration graph
[legend]

Data Fields

GaimProtocolOptions options
 Protocol options.
GList * user_splits
GList * protocol_options
GaimBuddyIconSpec icon_spec
const char *(* list_icon )(GaimAccount *account, GaimBuddy *buddy)
 Returns the base icon name for the given buddy and account.
void(* list_emblems )(GaimBuddy *buddy, char **se, char **sw, char **nw, char **ne)
 Fills the four char**'s with string identifiers for "emblems" that the UI will interpret and display as relevant.
char *(* status_text )(GaimBuddy *buddy)
 Gets a short string representing this buddy's status.
char *(* tooltip_text )(GaimBuddy *buddy)
 Gets a string to put in the buddy list tooltip.
GList *(* away_states )(GaimConnection *gc)
GList *(* blist_node_menu )(GaimBlistNode *node)
GList *(* chat_info )(GaimConnection *)
GHashTable *(* chat_info_defaults )(GaimConnection *, const char *chat_name)
void(* login )(GaimAccount *)
void(* close )(GaimConnection *)
int(* send_im )(GaimConnection *, const char *who, const char *message, GaimConvImFlags flags)
void(* set_info )(GaimConnection *, const char *info)
int(* send_typing )(GaimConnection *, const char *name, int typing)
void(* get_info )(GaimConnection *, const char *who)
void(* set_away )(GaimConnection *, const char *state, const char *message)
void(* set_idle )(GaimConnection *, int idletime)
void(* change_passwd )(GaimConnection *, const char *old_pass, const char *new_pass)
void(* add_buddy )(GaimConnection *, GaimBuddy *buddy, GaimGroup *group)
void(* add_buddies )(GaimConnection *, GList *buddies, GList *groups)
void(* remove_buddy )(GaimConnection *, GaimBuddy *buddy, GaimGroup *group)
void(* remove_buddies )(GaimConnection *, GList *buddies, GList *groups)
void(* add_permit )(GaimConnection *, const char *name)
void(* add_deny )(GaimConnection *, const char *name)
void(* rem_permit )(GaimConnection *, const char *name)
void(* rem_deny )(GaimConnection *, const char *name)
void(* set_permit_deny )(GaimConnection *)
void(* warn )(GaimConnection *, const char *who, gboolean anonymous)
void(* join_chat )(GaimConnection *, GHashTable *components)
void(* reject_chat )(GaimConnection *, GHashTable *components)
char *(* get_chat_name )(GHashTable *components)
void(* chat_invite )(GaimConnection *, int id, const char *who, const char *message)
void(* chat_leave )(GaimConnection *, int id)
void(* chat_whisper )(GaimConnection *, int id, const char *who, const char *message)
int(* chat_send )(GaimConnection *, int id, const char *message)
void(* keepalive )(GaimConnection *)
void(* register_user )(GaimAccount *)
void(* get_cb_info )(GaimConnection *, int, const char *who)
void(* get_cb_away )(GaimConnection *, int, const char *who)
void(* alias_buddy )(GaimConnection *, const char *who, const char *alias)
void(* group_buddy )(GaimConnection *, const char *who, const char *old_group, const char *new_group)
void(* rename_group )(GaimConnection *, const char *old_name, GaimGroup *group, GList *moved_buddies)
void(* buddy_free )(GaimBuddy *)
void(* convo_closed )(GaimConnection *, const char *who)
const char *(* normalize )(const GaimAccount *, const char *)
void(* set_buddy_icon )(GaimConnection *, const char *filename)
void(* remove_group )(GaimConnection *gc, GaimGroup *group)
char *(* get_cb_real_name )(GaimConnection *gc, int id, const char *who)
void(* set_chat_topic )(GaimConnection *gc, int id, const char *topic)
GaimChat *(* find_blist_chat )(GaimAccount *account, const char *name)
_GaimRoomlist *(* roomlist_get_list )(GaimConnection *gc)
void(* roomlist_cancel )(struct _GaimRoomlist *list)
void(* roomlist_expand_category )(struct _GaimRoomlist *list, struct _GaimRoomlistRoom *category)
gboolean(* can_receive_file )(GaimConnection *, const char *who)
void(* send_file )(GaimConnection *, const char *who, const char *filename)

Detailed Description

A protocol plugin information structure.

Every protocol plugin initializes this structure. It is the gateway between gaim and the protocol plugin.


Field Documentation

const char*(* _GaimPluginProtocolInfo::list_icon)(GaimAccount *account, GaimBuddy *buddy)
 

Returns the base icon name for the given buddy and account.

If buddy is NULL, it will return the name to use for the account's icon

char*(* _GaimPluginProtocolInfo::status_text)(GaimBuddy *buddy)
 

Gets a short string representing this buddy's status.

This will be shown on the buddy list.

char*(* _GaimPluginProtocolInfo::tooltip_text)(GaimBuddy *buddy)
 

Gets a string to put in the buddy list tooltip.


The documentation for this struct was generated from the following file:
Generated on Tue Aug 9 15:33:16 2005 for gaim by  doxygen 1.3.9.1