Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/pep.h @ 17580:7754d39d70c5
Added support for setting the avatar via XEP-0084. Receiving other people's avatar is up next.
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Sun, 17 Jun 2007 01:16:55 +0000 |
parents | 5fc8a8a25008 |
children | 5ab3c6bb95b4 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/pep.h Fri Jun 15 21:09:22 2007 +0000 +++ b/libpurple/protocols/jabber/pep.h Sun Jun 17 01:16:55 2007 +0000 @@ -48,6 +48,17 @@ */ void jabber_pep_register_handler(const char *shortname, const char *xmlns, JabberPEPHandler handlerfunc); +/* + * Default callback that can be used for namespaces which should only be enabled when PEP is supported + * + * @parameter js The JabberStream struct for this connection + * @parameter shortname The namespace's shortname (for caps), ignored. + * @parameter namespace The namespace that's queried, ignored. + * + * @returns TRUE when PEP is enabled, FALSE otherwise + */ +gboolean jabber_pep_namespace_only_when_pep_enabled_cb(JabberStream *js, const gchar *shortname, const gchar *namespace); + void jabber_handle_event(JabberMessage *jm); /*