--- a/libpurple/account.h Mon Jun 17 21:50:41 2013 +0530 +++ b/libpurple/account.h Mon Jun 17 21:59:32 2013 +0530 @@ -858,9 +858,21 @@ */ void purple_account_privacy_deny(PurpleAccount *account, const char *who); -gboolean purple_account_privacy_permitted(); -gboolean purple_account_privacy_denied(); +/** + * Returns the account's permit list. + * + * @param account The account. + * @return A GSList of the permitted users + */ +GSList *purple_account_privacy_get_permitted(PurpleAccount *account); +/** + * Returns the account's deny list. + * + * @param account The account. + * @return A GSList of the denied users + */ +GSList *purple_account_privacy_get_denied(PurpleAccount *account); /** * Check the privacy-setting for a user.