# HG changeset patch # User Christian Hammond # Date 1061693942 0 # Node ID 782eef79cf3c3949c9e2e2f153cce4d1ebb4832f # Parent 47744949513f522214f594b1583351eec2be43b0 [gaim-migrate @ 7119] Moved a function from Gaim to Gaim::Accounts. committer: Tailor Script diff -r 47744949513f -r 782eef79cf3c plugins/perl/common/Account.xs --- 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 -