comparison src/account.h @ 6368:41e6d15f4687

[gaim-migrate @ 6873] Actually, I decided to move the code to delete an account into gaim_accounts_delete(). This way, gaim_accounts_{add,remove} can be used for simply manipulating the list... A function should really just do one thing right. gaim_accounts_delete() now handles the removal of an account from the list, the deletion of buddies, and the destroying of the account structure. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 04 Aug 2003 19:39:33 +0000
parents 9fd154ca6a94
children 70d5122bc3ff
comparison
equal deleted inserted replaced
6367:9fd154ca6a94 6368:41e6d15f4687
522 * @param account The account. 522 * @param account The account.
523 */ 523 */
524 void gaim_accounts_remove(GaimAccount *account); 524 void gaim_accounts_remove(GaimAccount *account);
525 525
526 /** 526 /**
527 * Deletes an account.
528 *
529 * This will remove any buddies from the buddy list that belong to this
530 * account, and will also destroy @a account.
531 *
532 * @param account The account.
533 */
534 void gaim_accounts_delete(GaimAccount *account);
535
536 /**
527 * Auto-logins to all accounts set to auto-login under the specified UI. 537 * Auto-logins to all accounts set to auto-login under the specified UI.
528 * 538 *
529 * @param ui The UI. 539 * @param ui The UI.
530 */ 540 */
531 void gaim_accounts_auto_login(const char *ui); 541 void gaim_accounts_auto_login(const char *ui);