comparison src/account.h @ 7132:d17a587efeb3

[gaim-migrate @ 7699] new blist parser code, and some tweaks to the account code to make my next commit possible. the other parser code can get moved over to this model to make things cleaner, but i'm too lazy to do it now. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 03 Oct 2003 21:49:11 +0000
parents b90c94620d1c
children fa6395637e2c
comparison
equal deleted inserted replaced
7131:af889fd531d0 7132:d17a587efeb3
607 607
608 /** 608 /**
609 * Finds an account with the specified name and protocol number. 609 * Finds an account with the specified name and protocol number.
610 * 610 *
611 * @param name The account username. 611 * @param name The account username.
612 * @param protocol The account protocol number. 612 * @param protocol The account protocol ID or number.
613 * 613 *
614 * @return The account, if found, or @c FALSE otherwise. 614 * @return The account, if found, or @c FALSE otherwise.
615 */ 615 */
616 GaimAccount *gaim_accounts_find(const char *name, GaimProtocol protocol); 616 GaimAccount *gaim_accounts_find(const char *name, const char *protocol);
617
618 /**
619 * Finds an account with the specified name and protocol ID.
620 *
621 * @param name The account username.
622 * @param protocol_id The account protocol ID.
623 *
624 * @return The account, if found, or @c FALSE otherwise.
625 */
626 GaimAccount *gaim_accounts_find_with_prpl_id(const char *name,
627 const char *protocol_id);
628 617
629 /*@}*/ 618 /*@}*/
630 619
631 620
632 /**************************************************************************/ 621 /**************************************************************************/