Mercurial > pidgin.yaz
diff libpurple/account.h @ 30149:b983db2b01f5
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Fixes #11656
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 16 Apr 2010 07:35:11 +0000 |
parents | 0aac63e8489f |
children | 57a482217ee1 |
line wrap: on
line diff
--- a/libpurple/account.h Fri Apr 16 01:59:16 2010 +0000 +++ b/libpurple/account.h Fri Apr 16 07:35:11 2010 +0000 @@ -414,6 +414,14 @@ void purple_account_set_proxy_info(PurpleAccount *account, PurpleProxyInfo *info); /** + * Sets the account's privacy type. + * + * @param account The account. + * @param privacy_type The privacy type. + */ +void purple_account_set_privacy_type(PurpleAccount *account, PurplePrivacyType privacy_type); + +/** * Sets the account's status types. * * @param account The account. @@ -683,6 +691,15 @@ PurpleProxyInfo *purple_account_get_proxy_info(const PurpleAccount *account); /** + * Returns the account's privacy type. + * + * @param account The account. + * + * @return The privacy type. + */ +PurplePrivacyType purple_account_get_privacy_type(const PurpleAccount *account); + +/** * Returns the active status for this account. This looks through * the PurplePresence associated with this account and returns the * PurpleStatus that has its active flag set to "TRUE." There can be