Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 24820:0700833f0c5d
Commit patch #7670: Implement xep-0191 (simple blocking) for jabber protocols
from Vijay Raghunathan (a co-worker of mine). We're testing this at Meebo
and it seems to work ok. Closes #7670.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Dec 2008 07:51:06 +0000 |
parents | 3c3032be12de |
children | 5f9a24d1c25e 1d1d1829de11 2d92bbe6807b 050052891c55 280ffb4d954f f0c2e27c7ae7 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Sun Dec 21 18:01:37 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.h Mon Dec 22 07:51:06 2008 +0000 @@ -42,7 +42,8 @@ JABBER_CAP_PING = 1 << 11, JABBER_CAP_ADHOC = 1 << 12, - + JABBER_CAP_BLOCKING = 1 << 13, + JABBER_CAP_RETRIEVED = 1 << 31 } JabberCapabilities; @@ -294,6 +295,9 @@ void jabber_login(PurpleAccount *account); void jabber_close(PurpleConnection *gc); void jabber_idle_set(PurpleConnection *gc, int idle); +void jabber_request_block_list(JabberStream *js); +void jabber_add_deny(PurpleConnection *gc, const char *who); +void jabber_rem_deny(PurpleConnection *gc, const char *who); void jabber_keepalive(PurpleConnection *gc); void jabber_register_gateway(JabberStream *js, const char *gateway); void jabber_register_account(PurpleAccount *account);