diff src/protocols/jabber/roster.h @ 9285:7a8aa87164ae

[gaim-migrate @ 10088] Ok I'm done. This started out as shx's patch to make add/remove buddy/buddies take GaimBuddy and GaimGroup's in various places. I think his diff was like 2000 lines and mine is like 5000. I tried to clean up blist.c a bit and make it more uniform. There are some more g_return_if_fail() checks. Removed some code that was deprecated--it's probably been long enough. Removed some #include <multi.h>'s. Make blist.xml saving happen on a timer, like prefs.xml and accounts.xml. Sorry if this doesn't merge cleanly with whatever you're doing. People should really test this a lot. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 15 Jun 2004 02:37:27 +0000
parents 67c4e9d39242
children
line wrap: on
line diff
--- a/src/protocols/jabber/roster.h	Tue Jun 15 01:17:16 2004 +0000
+++ b/src/protocols/jabber/roster.h	Tue Jun 15 02:37:27 2004 +0000
@@ -28,15 +28,15 @@
 
 void jabber_roster_parse(JabberStream *js, xmlnode *packet);
 
-void jabber_roster_add_buddy(GaimConnection *gc, const char *name,
-		GaimGroup *grp);
+void jabber_roster_add_buddy(GaimConnection *gc, GaimBuddy *buddy,
+		GaimGroup *group);
 void jabber_roster_alias_change(GaimConnection *gc, const char *name,
 		const char *alias);
 void jabber_roster_group_change(GaimConnection *gc, const char *name,
 		const char *old_group, const char *new_group);
-void jabber_roster_group_rename(GaimConnection *gc, const char *old_group,
-		const char *new_group, GList *members);
-void jabber_roster_remove_buddy(GaimConnection *gc, const char *name,
-		const char *group);
+void jabber_roster_group_rename(GaimConnection *gc, const char *old_name,
+		GaimGroup *group, GList *moved_buddies);
+void jabber_roster_remove_buddy(GaimConnection *gc, GaimBuddy *buddy,
+		GaimGroup *group);
 
 #endif /* _GAIM_JABBER_ROSTER_H_ */