libpurple/account.h

branch
soc.2013.gobjectification
changeset 34577
cd4e77521c9c
parent 34576
216613e5e368
child 34578
cfb2f856a5d0
--- 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.

mercurial