[JDEV] <dynamic/> config tag (in search of portable C lib)
DJ Adams
dj.adams at pobox.com
Tue Jul 9 07:37:38 CDT 2002
On Tue, Jul 09, 2002 at 01:12:25PM +0200, Andreas Ames wrote:
> Hi,
>
> while wading through the 1.4.2 sources to figure out how to use
> libjabber (which is the only C lib for jabber I found that seems to be
> complete and somewhat portable; any other recommendations are
> welcome), I came across the <dynamic/> config tag in base_dynamic.c.
> So far I have no clue how to use it and what it's for (I assume I can
> influence the delivery process/message routing with dynamic handlers;
> but I may be completely wrong). Unfortunately I'm very curious.
> Neither google nor DJ Adams' book were my friends here. Can someone
> help me out, please?
Hi Andreas
If I remember correctly, it's something that Jer put together during 1.4.1
but remained experimental. (Programming Jabber was based more or less on
1.4.1 but as I had to prune the contents, experimental stuff was always
first on the cuttingroom floor :-). It's basically a way of being able to
plug handlers into a running jabberd. I think it's defined per-component,
so you'd have something like:
<service id='dynamicstuff'>
<host>blah</host>
<dynamic>
definition of dynamic files here
</dynamic>
</service>
The files (all in the same directory) are .so loadable, I think, and
have to confirm to the jabberd API.
HTH a bit
dj
More information about the JDev
mailing list