diff src/protocols/jabber/jabber.h @ 11675:828802f2251b

[gaim-migrate @ 13961] Jabber User Directory searching... This works when the stars are aligned, and breaks otherwise. It hasn't been tested on any "x:data" supporting servers (because I don't know of any yet). It doesn't let you know if there was an error. Really, it doesn't do a lot of things. But you can search. You do get results. The results themselves, however, are a tad off. users.jabber.org is sending back results along the lines of: <nick>faceprint@faceprint.com</nick><email>faceprint</email> which is obviously switched. I'll ping the appropriate people to figure that out. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 17 Oct 2005 01:43:09 +0000
parents 1e756e251dc3
children 5cfc53ead482
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.h	Sun Oct 16 18:26:32 2005 +0000
+++ b/src/protocols/jabber/jabber.h	Mon Oct 17 01:43:09 2005 +0000
@@ -39,6 +39,8 @@
 	JABBER_CAP_BYTESTREAMS    = 1 << 4,
 	JABBER_CAP_IBB            = 1 << 5,
 	JABBER_CAP_CHAT_STATES    = 1 << 6,
+	JABBER_CAP_IQ_SEARCH      = 1 << 7,
+	JABBER_CAP_IQ_REGISTER    = 1 << 8,
 	JABBER_CAP_RETRIEVED      = 1 << 31
 } JabberCapabilities;
 
@@ -80,6 +82,7 @@
 	GHashTable *chats;
 	GList *chat_servers;
 	GaimRoomlist *roomlist;
+	GList *user_directories;
 
 	GHashTable *iq_callbacks;
 	GHashTable *disco_callbacks;