comparison libpurple/protocols/jabber/pep.h @ 17841:df5bb342b10e

implemented user mood, still missing the front end interface
author Andreas Monitzer <pidgin@monitzer.com>
date Mon, 11 Jun 2007 23:33:39 +0000
parents 0370da969e8a
children 2e0799b916b9
comparison
equal deleted inserted replaced
17840:cac26c30047a 17841:df5bb342b10e
22 #ifndef _PURPLE_JABBER_PEP_H_ 22 #ifndef _PURPLE_JABBER_PEP_H_
23 #define _PURPLE_JABBER_PEP_H_ 23 #define _PURPLE_JABBER_PEP_H_
24 24
25 #include "jabber.h" 25 #include "jabber.h"
26 #include "message.h" 26 #include "message.h"
27 #include "buddy.h"
27 28
28 void jabber_pep_init(void); 29 void jabber_pep_init(void);
29 30
30 /* 31 /*
31 * Callback for receiving PEP events. 32 * Callback for receiving PEP events.
32 * 33 *
33 * @parameter js The JabberStream this item was received on 34 * @parameter js The JabberStream this item was received on
34 * @parameter items The &lt;items/>-tag with the &lt;item/>-children 35 * @parameter items The &lt;items/>-tag with the &lt;item/>-children
35 */ 36 */
36 typedef void (JabberPEPHandler)(JabberStream *js, xmlnode *items); 37 typedef void (JabberPEPHandler)(JabberStream *js, const char *from, xmlnode *items);
37 38
38 /* 39 /*
39 * Registers a callback for PEP events. Also automatically announces this receiving capability via disco#info. 40 * Registers a callback for PEP events. Also automatically announces this receiving capability via disco#info.
40 * Don't forget to use jabber_add_feature when supporting the sending of PEP events of this type. 41 * Don't forget to use jabber_add_feature when supporting the sending of PEP events of this type.
41 * 42 *