# HG changeset patch # User Etan Reisner # Date 1250204219 0 # Node ID cbb907781528861cb05e90cea8ab0a94ae1dcb68 # Parent 9358464cdf6aad2fb6ca1cae3f6fc341db11b9ea# Parent 3a52cc5eb30a4c8817195080a93907394ac48533 merge of '595994cbd9222742a876670d7503f564822c34c1' and 'b3fde32d81f67879e4efa44dfa6f550e6b4eeeff' diff -r 9358464cdf6a -r cbb907781528 doc/jabber-signals.dox --- a/doc/jabber-signals.dox Thu Aug 13 20:16:23 2009 +0000 +++ b/doc/jabber-signals.dox Thu Aug 13 22:56:59 2009 +0000 @@ -8,6 +8,7 @@ @signal jabber-register-namespace-watcher @signal jabber-unregister-namespace-watcher @signal jabber-sending-xmlnode + @signal jabber-receiving-xmlnode @endsignals
@@ -71,7 +72,7 @@ @signaldef jabber-watched-iq @signalproto -gboolean (*watched_iq)(PurpleConnection *pc, const char *type, const char *id, +gboolean (*watched_iq)(PurpleConnection *gc, const char *type, const char *id, const char *from, xmlnode *child); @endsignalproto @signaldesc @@ -87,18 +88,6 @@ process it. FALSE otherwise. @endsignaldef - @signaldef jabber-sending-xmlnode - @signalproto -void (sending_xmlnode)(PurpleConnection *gc, xmlnode **stanza); - @endsignalproto - @signaldesc - Emit this signal (@c purple_signal_emit) to send a stanza. It is preferred - to use this instead of prpl_info->send_raw. - @param gc The connectoin on which to send the stanza. - @param stanza The stanza to send. If stanza is not NULL after being sent, - the emitter should free it. - @endsignaldef - @signaldef jabber-register-namespace-watcher @signalproto void (register_namespace_watcher)(const char *node, const char *namespace); @@ -121,5 +110,29 @@ @param namespace The IQ child namespace to no longer watch. @endsignaldef + @signaldef jabber-sending-xmlnode + @signalproto +void (sending_xmlnode)(PurpleConnection *gc, xmlnode **stanza); + @endsignalproto + @signaldesc + Emit this signal (@c purple_signal_emit) to send a stanza. It is preferred + to use this instead of prpl_info->send_raw. + @param gc The connection on which to send the stanza. + @param stanza The stanza to send. If stanza is not NULL after being sent, + the emitter should free it. + @endsignaldef + + @signaldef jabber-receiving-xmlnode + @signalproto +void (receiving_xmlnode)(PurpleConnection *gc, xmlnode **stanza); + @endsignalproto + @signaldesc + Emitted when an XMPP stanza is received. Allows a plugin to process any + stanza. + @param gc The connection on which the stanza was received. + @param stanza The received stanza. Set stanza to NULL (and free it) to + stop processing the stanza. + @endsignaldef + */ // vim: syntax=c.doxygen tw=75 et