comparison src/protocols/bonjour/jabber.h @ 13909:8264f52a1142

[gaim-migrate @ 16406] More of sf patch #1490646, from Jonty Wareing & Jono Cole "The screen name + hostname of the sending user is sent in the outgoing jabber message, fixing a sporadic problem with iChat. The port in use has been fixed to the one described in the Bonjour specification and can no longer be changed in the prpl preferences - modifiying this just stops the client from being able to start a chat. The option for a buddy icon has been removed for now as no code actually uses it yet - we plan to change this in the future. This update also introduces automatic local port retry for up to ten attempts if the port is in use (e.g. if multiple instances of gaim are running)." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 03 Jul 2006 00:37:41 +0000
parents 425e0f861e88
children
comparison
equal deleted inserted replaced
13908:cab785a7c766 13909:8264f52a1142
47 gboolean stream_started; 47 gboolean stream_started;
48 gint message_id; 48 gint message_id;
49 } BonjourJabberConversation; 49 } BonjourJabberConversation;
50 50
51 /** 51 /**
52 * Start listening for jabber connections. Returns 0 if the connection could be 52 * Start listening for jabber connections.
53 * stablished, -1 if a problem appears. 53 *
54 * @return -1 if there was a problem, else returns the listening
55 * port number.
54 */ 56 */
55 gint bonjour_jabber_start(BonjourJabber *data); 57 gint bonjour_jabber_start(BonjourJabber *data);
56 58
57 int bonjour_jabber_send_message(BonjourJabber *data, const gchar *to, const gchar *body); 59 int bonjour_jabber_send_message(BonjourJabber *data, const gchar *to, const gchar *body);
58 60