Mercurial > pidgin.yaz
comparison src/account.h @ 11643:eb14bbcf7249
[gaim-migrate @ 13920]
sf patch #1293063, from John Bailey
Move and rename some functions from server.c to the account API.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 12 Oct 2005 02:47:31 +0000 |
parents | efb358543b1d |
children | 03c813a42c76 |
comparison
equal
deleted
inserted
replaced
11642:58bc500cf226 | 11643:eb14bbcf7249 |
---|---|
680 * | 680 * |
681 * @param account The account. | 681 * @param account The account. |
682 */ | 682 */ |
683 void gaim_account_destroy_log(GaimAccount *account); | 683 void gaim_account_destroy_log(GaimAccount *account); |
684 | 684 |
685 /** | |
686 * Adds a buddy to the server-side buddy list for the specified account. | |
687 * | |
688 * @param account The account. | |
689 * @param buddy The buddy to add. | |
690 */ | |
691 void gaim_account_add_buddy(GaimAccount *account, GaimBuddy *buddy); | |
692 /** | |
693 * Adds a list of buddies to the server-side buddy list. | |
694 * | |
695 * @param account The account. | |
696 * @param buddies The list of GaimBlistNodes representing the buddies to add. | |
697 */ | |
698 void gaim_account_add_buddies(GaimAccount *account, GList *buddies); | |
699 | |
700 /** | |
701 * Removes a buddy from the server-side buddy list. | |
702 * | |
703 * @param account The account. | |
704 * @param buddy The buddy to remove. | |
705 * @pararm group The group to remove the buddy from. | |
706 */ | |
707 void gaim_account_remove_buddy(GaimAccount *account, GaimBuddy *buddy, | |
708 GaimGroup *group); | |
709 | |
710 /** | |
711 * Removes a list of buddies from the server-side buddy list. | |
712 * | |
713 * @note The lists buddies and groups are parallel lists. Be sure that node n of | |
714 * groups matches node n of buddies. | |
715 * | |
716 * @param account The account. | |
717 * @param buddies The list of buddies to remove. | |
718 * @param groups The list of groups to remove buddies from. Each node of this | |
719 * list should match the corresponding node of buddies. | |
720 */ | |
721 void gaim_account_remove_buddies(GaimAccount *account, GList *buddies, | |
722 GList *groups); | |
723 | |
724 /** | |
725 * Removes a group from the server-side buddy list. | |
726 * | |
727 * @param account The account. | |
728 * @param group The group to remove. | |
729 */ | |
730 void gaim_account_remove_group(GaimAccount *account, GaimGroup *group); | |
731 | |
732 /** | |
733 * Changes the password on the specified account. | |
734 * | |
735 * @param account The account. | |
736 * @param orig_pw The old password. | |
737 * @param new_pw The new password. | |
738 */ | |
739 void gaim_account_change_password(GaimAccount *account, const char *orig_pw, | |
740 const char *new_pw); | |
741 | |
685 /*@}*/ | 742 /*@}*/ |
686 | 743 |
687 /**************************************************************************/ | 744 /**************************************************************************/ |
688 /** @name Accounts API */ | 745 /** @name Accounts API */ |
689 /**************************************************************************/ | 746 /**************************************************************************/ |