diff src/account.h @ 5874:964e4f94fc56

[gaim-migrate @ 6306] Moved gaim_account_find() from util.[ch] to gaim_accounts_find() in account.[ch]. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Jun 2003 23:50:24 +0000
parents 059d95c67cda
children f336fc0a7b8b
line wrap: on
line diff
--- a/src/account.h	Sat Jun 14 23:25:41 2003 +0000
+++ b/src/account.h	Sat Jun 14 23:50:24 2003 +0000
@@ -491,4 +491,14 @@
  */
 GList *gaim_accounts_get_all(void);
 
+/**
+ * Finds an account with the specified name and protocol.
+ *
+ * @param name     The account username.
+ * @param protocol The account protocol.
+ *
+ * @return The account, if found, or @c FALSE otherwise.
+ */
+GaimAccount *gaim_accounts_find(const char *name, GaimProtocol protocol);
+
 #endif /* _GAIM_ACCOUNTS_H_ */