Mercurial > pidgin
diff plugins/perl/common/Account.xs @ 6595:782eef79cf3c
[gaim-migrate @ 7119]
Moved a function from Gaim to Gaim::Accounts.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 24 Aug 2003 02:59:02 +0000 |
parents | 12343e2aaab1 |
children | 57478df4faf8 |
line wrap: on
line diff
--- a/plugins/perl/common/Account.xs Sun Aug 24 02:55:59 2003 +0000 +++ b/plugins/perl/common/Account.xs Sun Aug 24 02:59:02 2003 +0000 @@ -125,6 +125,15 @@ gaim_accounts_remove(account) Gaim::Account account +Gaim::Account +find(name, protocol_id) + const char *name + const char *protocol_id +CODE: + RETVAL = gaim_accounts_find_with_prpl_id(name, protocol_id); +OUTPUT: + RETVAL + void * handle() CODE: @@ -143,12 +152,3 @@ for (l = gaim_accounts_get_all(); l != NULL; l = l->next) XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Account"))); -Gaim::Account -account_find(name, protocol_id) - const char *name - const char *protocol_id -CODE: - RETVAL = gaim_accounts_find_with_prpl_id(name, protocol_id); -OUTPUT: - RETVAL -