# HG changeset patch # User Mark Doliner # Date 1099872434 0 # Node ID 7a75a264ac206590f076cb77f5cad4d03ff64328 # Parent 952fb08c60b0824b5e5b046737db7ec10ef478dc [gaim-migrate @ 11243] I forgot to commit this a few days ago. It's just some comments. committer: Tailor Script diff -r 952fb08c60b0 -r 7a75a264ac20 src/prpl.h --- a/src/prpl.h Fri Nov 05 05:55:48 2004 +0000 +++ b/src/prpl.h Mon Nov 08 00:07:14 2004 +0000 @@ -160,7 +160,8 @@ * A protocol plugin information structure. * * Every protocol plugin initializes this structure. It is the gateway - * between gaim and the protocol plugin. + * between gaim and the protocol plugin. Many of this callbacks can be + * NULL. If a callback must be implemented, it has a comment indicated so. */ struct _GaimPluginProtocolInfo { @@ -168,12 +169,13 @@ GList *user_splits; /* A GList of GaimAccountUserSplit */ GList *protocol_options; /* A GList of GaimAccountOption */ - + GaimBuddyIconSpec icon_spec; /* The icon spec. */ - + /** * 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 + * If buddy is NULL, it will return the name to use for the account's + * icon. This must be implemented. */ const char *(*list_icon)(GaimAccount *account, GaimBuddy *buddy); @@ -202,7 +204,11 @@ GHashTable *(*chat_info_defaults)(GaimConnection *, const char *chat_name); /* All the server-related functions */ + + /** This must be implemented. */ void (*login)(GaimAccount *); + + /** This must be implemented. */ void (*close)(GaimConnection *); int (*send_im)(GaimConnection *, const char *who, const char *message,