diff libpurple/protocols/bonjour/jabber.h @ 21522:dc703f13449a

Fix a couple bugs in the Bonjour XEP-0065 implementation, mainly related to error handling, but also send a <streamhost-used /> result. Also fix a XEP-0096 bug where the SI profile wasn't being specified. These bring ft with gajim closer to working, but we aren't there yet.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 15 Nov 2007 14:53:53 +0000
parents e489c81e1f6f
children d4c01ceb50a1
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/jabber.h	Thu Nov 15 14:22:06 2007 +0000
+++ b/libpurple/protocols/bonjour/jabber.h	Thu Nov 15 14:53:53 2007 +0000
@@ -53,6 +53,7 @@
 	gpointer stream_data;
 	xmlParserCtxt *context;
 	xmlnode *current;
+	PurpleBuddy *pb;
 } BonjourJabberConversation;
 
 /**
@@ -63,7 +64,7 @@
  */
 gint bonjour_jabber_start(BonjourJabber *data);
 
-int bonjour_jabber_send_message(BonjourJabber *data, const gchar *to, const gchar *body);
+int bonjour_jabber_send_message(BonjourJabber *data, const char *to, const char *body);
 
 void bonjour_jabber_close_conversation(BonjourJabberConversation *bconv);
 
@@ -91,7 +92,7 @@
 	void *data;
 } XepIq;
 
-XepIq *xep_iq_new(void *data, XepIqType type, const gchar *to, const gchar *id);
+XepIq *xep_iq_new(void *data, XepIqType type, const char *to, const char *from, const char *id);
 int xep_iq_send_and_free(XepIq *iq);
 const char *purple_network_get_my_ip_ext2(int fd);