summaryrefslogtreecommitdiff
path: root/libpurple/account.h
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2009-03-02 04:18:40 (GMT)
committerElliott Sales de Andrade <qulogic@pidgin.im>2009-03-02 04:18:40 (GMT)
commite6fd398fcd312197f40cd095c7963a3d0b879671 (patch)
tree6f56ffe43c0a2228120c1202f868ecdcebfd293e /libpurple/account.h
parentc71a0854ac9d48e6c6a6fc0e625939b1bb00af43 (diff)
parentf6a4487a225151c75cedcf41eb38a7536f213b01 (diff)
downloadpidgin-e6fd398fcd312197f40cd095c7963a3d0b879671.tar.gz
pidgin-e6fd398fcd312197f40cd095c7963a3d0b879671.tar.xz
propagate from branch 'im.pidgin.pidgin.next.minor' (head 7305b29db7bd00d3261f348c71674c93aa31b327)
to branch 'im.pidgin.pidgin' (head d8c03c68d591d9392607d954942ee58b8618d946)
Diffstat (limited to 'libpurple/account.h')
-rw-r--r--libpurple/account.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libpurple/account.h b/libpurple/account.h
index b16b3f3..7c6bfe9 100644
--- a/libpurple/account.h
+++ b/libpurple/account.h
@@ -27,7 +27,6 @@
#ifndef _PURPLE_ACCOUNT_H_
#define _PURPLE_ACCOUNT_H_
-#include <glib-object.h>
#include <glib.h>
#include <glib-object.h>
@@ -132,6 +131,14 @@ struct _PurpleAccount
/* to NULL when the account inherits */
/* proxy settings from global prefs. */
+ /*
+ * TODO: Supplementing the next two linked lists with hash tables
+ * should help performance a lot when these lists are long. This
+ * matters quite a bit for protocols like MSN, where all your
+ * buddies are added to your permit list. Currently we have to
+ * iterate through the entire list if we want to check if someone
+ * is permitted or denied. We should do this for 3.0.0.
+ */
GSList *permit; /**< Permit list. */
GSList *deny; /**< Deny list. */
int perm_deny; /**< The permit/deny setting. */