Mercurial > pidgin
comparison libpurple/protocols/bonjour/jabber.h @ 17556:612dc5149964
Close conversation connections when logging out of the Bonjour account. This also fixes leakage.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 08 Jun 2007 15:28:00 +0000 |
parents | a1d05bc43d95 |
children | 6e4e2d234c3a |
comparison
equal
deleted
inserted
replaced
17555:b13850d13391 | 17556:612dc5149964 |
---|---|
38 | 38 |
39 typedef struct _BonjourJabberConversation | 39 typedef struct _BonjourJabberConversation |
40 { | 40 { |
41 gint socket; | 41 gint socket; |
42 gint watcher_id; | 42 gint watcher_id; |
43 gchar* buddy_name; | |
44 gboolean stream_started; | 43 gboolean stream_started; |
45 } BonjourJabberConversation; | 44 } BonjourJabberConversation; |
46 | 45 |
47 /** | 46 /** |
48 * Start listening for jabber connections. | 47 * Start listening for jabber connections. |
52 */ | 51 */ |
53 gint bonjour_jabber_start(BonjourJabber *data); | 52 gint bonjour_jabber_start(BonjourJabber *data); |
54 | 53 |
55 int bonjour_jabber_send_message(BonjourJabber *data, const gchar *to, const gchar *body); | 54 int bonjour_jabber_send_message(BonjourJabber *data, const gchar *to, const gchar *body); |
56 | 55 |
57 void bonjour_jabber_close_conversation(PurpleBuddy *gb); | 56 void bonjour_jabber_close_conversation(BonjourJabberConversation *bconv); |
58 | 57 |
59 void bonjour_jabber_stop(BonjourJabber *data); | 58 void bonjour_jabber_stop(BonjourJabber *data); |
60 | 59 |
61 #endif /* _BONJOUR_JABBER_H_ */ | 60 #endif /* _BONJOUR_JABBER_H_ */ |