diff src/multi.h @ 1030:38452403563b

[gaim-migrate @ 1040] updating the buddy list to work better with multiple connections. there are still a bunch of things fucked up with this but i wanted more people to start working on it than just me, especially since i won't be here this weekend. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 27 Oct 2000 07:53:32 +0000
parents 1d8f05ea6bdf
children 713b0e14e0a9
line wrap: on
line diff
--- a/src/multi.h	Thu Oct 26 18:05:29 2000 +0000
+++ b/src/multi.h	Fri Oct 27 07:53:32 2000 +0000
@@ -36,12 +36,21 @@
 	/* all connections need an input watcher */
 	int inpa;
 
+	/* buddy list stuff. there is still a global groups for the buddy list, but
+	 * we need to maintain our own set of buddies, and our own permit/deny lists */
+	GSList *groups;
+	GSList *permit;
+	GSList *deny;
+	int permdeny;
+
 	/* all connections need a list of chats, even if they don't have chat */
 	GSList *buddy_chats;
 
 	/* each connection then can have its own protocol-specific data */
 	void *proto_data;
 
+	struct aim_user *user;
+
 	char username[64];
 	char password[32];
 	char user_info[2048];
@@ -70,7 +79,7 @@
 
 void account_editor(GtkWidget *, GtkWidget *);
 
-void account_online(struct gaim_connection *);
+void account_online(struct aim_user *, struct gaim_connection *);
 void account_offline(struct gaim_connection *);
 
 void auto_login();