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

unsigned int api_version
 API version number.

GaimProtocolOptions options
 Protocol options.

GList * user_splits
GList * protocol_options
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 *(* actions )(GaimConnection *gc)
GList *(* buddy_menu )(GaimConnection *, const char *)
GList *(* chat_info )(GaimConnection *)
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_dir )(GaimConnection *, const char *first, const char *middle, const char *last, const char *maiden, const char *city, const char *state, const char *country, int web)
void(* get_dir )(GaimConnection *, const char *who)
void(* dir_search )(GaimConnection *, const char *first, const char *middle, const char *last, const char *maiden, const char *city, const char *state, const char *country, const char *email)
void(* set_idle )(GaimConnection *, int idletime)
void(* change_passwd )(GaimConnection *, const char *old_pass, const char *new_pass)
void(* add_buddy )(GaimConnection *, const char *name, GaimGroup *group)
void(* add_buddies )(GaimConnection *, GList *buddies)
void(* remove_buddy )(GaimConnection *, const char *name, const char *group)
void(* remove_buddies )(GaimConnection *, GList *buddies, const char *group)
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, int anonymous)
void(* join_chat )(GaimConnection *, GHashTable *components)
void(* reject_chat )(GaimConnection *, 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_group, const char *new_group, GList *members)
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, const char *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)
GList *(* chat_menu )(GaimConnection *, GHashTable *)

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 3 17:36:46 2004 for gaim by doxygen 1.3.4