| 14 <hr> |
14 <hr> |
| 15 |
15 |
| 16 @signaldef jabber-receiving-iq |
16 @signaldef jabber-receiving-iq |
| 17 @signalproto |
17 @signalproto |
| 18 gboolean (*iq_received)(PurpleConnection *gc, const char *type, const char *id, |
18 gboolean (*iq_received)(PurpleConnection *gc, const char *type, const char *id, |
| 19 const char *from, xmlnode *iq); |
19 const char *from, PurpleXmlNode *iq); |
| 20 @endsignalproto |
20 @endsignalproto |
| 21 @signaldesc |
21 @signaldesc |
| 22 Emitted when an XMPP IQ stanza is received. Allows a plugin to process IQ |
22 Emitted when an XMPP IQ stanza is received. Allows a plugin to process IQ |
| 23 stanzas. |
23 stanzas. |
| 24 @param gc The connection on which the stanza is received |
24 @param gc The connection on which the stanza is received |
| 33 |
33 |
| 34 @signaldef jabber-receiving-message |
34 @signaldef jabber-receiving-message |
| 35 @signalproto |
35 @signalproto |
| 36 gboolean (*message_received)(PurpleConnection *gc, const char *type, |
36 gboolean (*message_received)(PurpleConnection *gc, const char *type, |
| 37 const char *id, const char *from, const char *to, |
37 const char *id, const char *from, const char *to, |
| 38 xmlnode *message); |
38 PurpleXmlNode *message); |
| 39 @endsignalproto |
39 @endsignalproto |
| 40 @signaldesc |
40 @signaldesc |
| 41 Emitted when an XMPP message stanza is received. Allows a plugin to |
41 Emitted when an XMPP message stanza is received. Allows a plugin to |
| 42 process message stanzas. |
42 process message stanzas. |
| 43 @param gc The connection on which the stanza is received |
43 @param gc The connection on which the stanza is received |
| 53 @endsignaldef |
53 @endsignaldef |
| 54 |
54 |
| 55 @signaldef jabber-receiving-presence |
55 @signaldef jabber-receiving-presence |
| 56 @signalproto |
56 @signalproto |
| 57 gboolean (*presence_received)(PurpleConnection *gc, const char *type, |
57 gboolean (*presence_received)(PurpleConnection *gc, const char *type, |
| 58 const char *from, xmlnode *presence); |
58 const char *from, PurpleXmlNode *presence); |
| 59 @endsignalproto |
59 @endsignalproto |
| 60 @signaldesc |
60 @signaldesc |
| 61 Emitted when an XMPP presence stanza is received. Allows a plugin to process |
61 Emitted when an XMPP presence stanza is received. Allows a plugin to process |
| 62 presence stanzas. |
62 presence stanzas. |
| 63 @param gc The connection on which the stanza is received |
63 @param gc The connection on which the stanza is received |
| 71 @endsignaldef |
71 @endsignaldef |
| 72 |
72 |
| 73 @signaldef jabber-watched-iq |
73 @signaldef jabber-watched-iq |
| 74 @signalproto |
74 @signalproto |
| 75 gboolean (*watched_iq)(PurpleConnection *gc, const char *type, const char *id, |
75 gboolean (*watched_iq)(PurpleConnection *gc, const char *type, const char *id, |
| 76 const char *from, xmlnode *child); |
76 const char *from, PurpleXmlNode *child); |
| 77 @endsignalproto |
77 @endsignalproto |
| 78 @signaldesc |
78 @signaldesc |
| 79 Emitted when an IQ with a watched (child, namespace) pair is received. See |
79 Emitted when an IQ with a watched (child, namespace) pair is received. See |
| 80 jabber-register-namespace-watcher and jabber-unregister-namespace-watcher. |
80 jabber-register-namespace-watcher and jabber-unregister-namespace-watcher. |
| 81 @param gc The connection on which the stanza is received |
81 @param gc The connection on which the stanza is received |
| 110 @param namespace The IQ child namespace to no longer watch. |
110 @param namespace The IQ child namespace to no longer watch. |
| 111 @endsignaldef |
111 @endsignaldef |
| 112 |
112 |
| 113 @signaldef jabber-sending-xmlnode |
113 @signaldef jabber-sending-xmlnode |
| 114 @signalproto |
114 @signalproto |
| 115 void (sending_xmlnode)(PurpleConnection *gc, xmlnode **stanza); |
115 void (sending_xmlnode)(PurpleConnection *gc, PurpleXmlNode **stanza); |
| 116 @endsignalproto |
116 @endsignalproto |
| 117 @signaldesc |
117 @signaldesc |
| 118 Emit this signal (@c purple_signal_emit) to send a stanza. It is preferred |
118 Emit this signal (@c purple_signal_emit) to send a stanza. It is preferred |
| 119 to use this instead of prpl_info->send_raw. |
119 to use this instead of prpl_info->send_raw. |
| 120 @param gc The connection on which to send the stanza. |
120 @param gc The connection on which to send the stanza. |
| 122 the emitter should free it. |
122 the emitter should free it. |
| 123 @endsignaldef |
123 @endsignaldef |
| 124 |
124 |
| 125 @signaldef jabber-receiving-xmlnode |
125 @signaldef jabber-receiving-xmlnode |
| 126 @signalproto |
126 @signalproto |
| 127 void (receiving_xmlnode)(PurpleConnection *gc, xmlnode **stanza); |
127 void (receiving_xmlnode)(PurpleConnection *gc, PurpleXmlNode **stanza); |
| 128 @endsignalproto |
128 @endsignalproto |
| 129 @signaldesc |
129 @signaldesc |
| 130 Emitted when an XMPP stanza is received. Allows a plugin to process any |
130 Emitted when an XMPP stanza is received. Allows a plugin to process any |
| 131 stanza. |
131 stanza. |
| 132 @param gc The connection on which the stanza was received. |
132 @param gc The connection on which the stanza was received. |