Plugins to handle new types of stanzas

Brad Fitzpatrick brad at
Sat Jun 14 03:04:01 UTC 2008

Submit a patch which add the right plugin hooks to DJabberd's core first?
Then write your clean plugin?

On Fri, Jun 13, 2008 at 12:41 PM, Jacob Burkhart <igotimac at> wrote:

> Hi,
> I am in the process of writing a plugin to support stream compression (
> I can't seem to find a way to setup my plugin as the handler for a new
> stanza type (<compress>) without directly editing the list of %element2class
> in
> Also, Once I receive this new stanza  'write' and 'event_read' need to
> be overridden on the active connection so that further communication is
> compressed.
> I can easily hack this into and but I want to
> keep the changes contained within my plugin.
> Any ideas?
> thanks,
> Jacob
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Djabberd mailing list