Mercurial > pidgin.yaz
annotate doc/jabber-signals.dox @ 31703:1192dade09c9
merge of '68f895b33b8b9c0317cb580b90d3df28b85065b6'
and 'bb8b5af65aed1351167474bd132cff898ef21f24'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 21 Feb 2011 22:57:27 +0000 |
parents | 3a52cc5eb30a |
children |
rev | line source |
---|---|
28146
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
1 /** @page jabber-signals Jabber Signals |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
2 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
3 @signals |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
4 @signal jabber-receiving-iq |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
5 @signal jabber-receiving-message |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
6 @signal jabber-receiving-presence |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
7 @signal jabber-watched-iq |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
8 @signal jabber-register-namespace-watcher |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
9 @signal jabber-unregister-namespace-watcher |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
10 @signal jabber-sending-xmlnode |
28254
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
11 @signal jabber-receiving-xmlnode |
28146
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
12 @endsignals |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
13 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
14 <hr> |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
15 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
16 @signaldef jabber-receiving-iq |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
17 @signalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
18 gboolean (*iq_received)(PurpleConnection *gc, const char *type, const char *id, |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
19 const char *from, xmlnode *iq); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
20 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
21 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
22 Emitted when an XMPP IQ stanza is received. Allows a plugin to process IQ |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
23 stanzas. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
24 @param gc The connection on which the stanza is received |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
25 @param type The IQ type ('get', 'set', 'result', or 'error') |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
26 @param id The ID attribute from the stanza. MUST NOT be NULL. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
27 @param from The originator of the stanza. MAY BE NULL if the stanza |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
28 originated from the user's server. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
29 @param iq The full stanza received. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
30 @return TRUE if the plugin processed this stanza and *nobody else* should |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
31 process it. FALSE otherwise. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
32 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
33 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
34 @signaldef jabber-receiving-message |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
35 @signalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
36 gboolean (*message_received)(PurpleConnection *gc, const char *type, |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
37 const char *id, const char *from, const char *to, |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
38 xmlnode *message); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
39 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
40 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
41 Emitted when an XMPP message stanza is received. Allows a plugin to |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
42 process message stanzas. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
43 @param gc The connection on which the stanza is received |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
44 @param type The message type (see rfc3921 or rfc3921bis) |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
45 @param id The ID attribute from the stanza. MAY BE NULL. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
46 @param from The originator of the stanza. MAY BE NULL if the stanza |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
47 originated from the user's server. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
48 @param to The destination of the stanza. This is probably either the |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
49 full JID of the receiver or the receiver's bare JID. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
50 @param message The full stanza received. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
51 @return TRUE if the plugin processed this stanza and *nobody else* should |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
52 process it. FALSE otherwise. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
53 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
54 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
55 @signaldef jabber-receiving-presence |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
56 @signalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
57 gboolean (*presence_received)(PurpleConnection *gc, const char *type, |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
58 const char *from, xmlnode *presence); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
59 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
60 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
61 Emitted when an XMPP presence stanza is received. Allows a plugin to process |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
62 presence stanzas. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
63 @param gc The connection on which the stanza is received |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
64 @param type The presence type (see rfc3921 or rfc3921bis). NULL indicates |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
65 this is an "available" (i.e. online) presence. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
66 @param from The originator of the stanza. MAY BE NULL if the stanza |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
67 originated from the user's server. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
68 @param presence The full stanza received. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
69 @return TRUE if the plugin processed this stanza and *nobody else* should |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
70 process it. FALSE otherwise. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
71 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
72 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
73 @signaldef jabber-watched-iq |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
74 @signalproto |
28254
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
75 gboolean (*watched_iq)(PurpleConnection *gc, const char *type, const char *id, |
28146
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
76 const char *from, xmlnode *child); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
77 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
78 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
79 Emitted when an IQ with a watched (child, namespace) pair is received. See |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
80 jabber-register-namespace-watcher and jabber-unregister-namespace-watcher. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
81 @param gc The connection on which the stanza is received |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
82 @param type The IQ type ('get', 'set', 'result', or 'error') |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
83 @param id The ID attribute from the stanza. MUST NOT be NULL. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
84 @param from The originator of the stanza. MAY BE NULL if the stanza |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
85 originated from the user's server. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
86 @param child The child node with namespace. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
87 @return TRUE if the plugin processed this stanza and *nobody else* should |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
88 process it. FALSE otherwise. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
89 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
90 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
91 @signaldef jabber-register-namespace-watcher |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
92 @signalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
93 void (register_namespace_watcher)(const char *node, const char *namespace); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
94 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
95 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
96 Emit this signal to register your desire to have specific IQ stanzas to be |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
97 emitted via the jabber-watched-iq signal when received. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
98 @param node The IQ child name to longer watch. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
99 @param namespace The IQ child namespace to longer watch. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
100 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
101 |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
102 @signaldef jabber-unregister-namespace-watcher |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
103 @signalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
104 void (unregister_namespace_watcher)(const char *node, const char *namespace); |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
105 @endsignalproto |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
106 @signaldesc |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
107 Emit this signal to unregister your desire to have specific IQ stanzas to be |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
108 emitted via the jabber-watched-iq signal when received. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
109 @param node The IQ child name to no longer watch. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
110 @param namespace The IQ child namespace to no longer watch. |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
111 @endsignaldef |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
112 |
28254
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
113 @signaldef jabber-sending-xmlnode |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
114 @signalproto |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
115 void (sending_xmlnode)(PurpleConnection *gc, xmlnode **stanza); |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
116 @endsignalproto |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
117 @signaldesc |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
118 Emit this signal (@c purple_signal_emit) to send a stanza. It is preferred |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
119 to use this instead of prpl_info->send_raw. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
120 @param gc The connection on which to send the stanza. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
121 @param stanza The stanza to send. If stanza is not NULL after being sent, |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
122 the emitter should free it. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
123 @endsignaldef |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
124 |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
125 @signaldef jabber-receiving-xmlnode |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
126 @signalproto |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
127 void (receiving_xmlnode)(PurpleConnection *gc, xmlnode **stanza); |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
128 @endsignalproto |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
129 @signaldesc |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
130 Emitted when an XMPP stanza is received. Allows a plugin to process any |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
131 stanza. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
132 @param gc The connection on which the stanza was received. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
133 @param stanza The received stanza. Set stanza to NULL (and free it) to |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
134 stop processing the stanza. |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
135 @endsignaldef |
3a52cc5eb30a
Document the jabber-receiving-xmlnode signal, fix a typo and make the list and
Etan Reisner <pidgin@unreliablesource.net>
parents:
28146
diff
changeset
|
136 |
28146
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
137 */ |
76a689608a83
Document the jabber signals, since I promised a while ago I would.
Paul Aurich <paul@darkrain42.org>
parents:
diff
changeset
|
138 // vim: syntax=c.doxygen tw=75 et |