diff libpurple/protocols/jabber/pep.h @ 17838:2f67cb504a51

Implemented publishing events
author Andreas Monitzer <pidgin@monitzer.com>
date Wed, 06 Jun 2007 01:37:28 +0000
parents a75079eae085
children 0370da969e8a
line wrap: on
line diff
--- a/libpurple/protocols/jabber/pep.h	Wed Jun 06 01:23:18 2007 +0000
+++ b/libpurple/protocols/jabber/pep.h	Wed Jun 06 01:37:28 2007 +0000
@@ -25,8 +25,17 @@
 #include "jabber.h"
 #include "message.h"
 
+/* called when the own server supports pep */
 void jabber_pep_init(JabberStream *js);
 
 void jabber_handle_event(JabberMessage *jm);
 
+/*
+ * Publishes PEP item(s)
+ *
+ * @parameter js      The JabberStream associated with the connection this event should be published
+ * @parameter publish The publish node. This could be for example &lt;publish node='http://jabber.org/protocol/tune'/> with an &lt;item/> as subnode
+ */
+void jabber_pep_publish(JabberStream *js, xmlnode *publish);
+
 #endif /* _PURPLE_JABBER_PEP_H_ */