[jdev] [PATCH] Dynamic Modules

Cedric Vivier cedricv at neonux.com
Mon Aug 8 07:34:48 CDT 2005


Hi all!

Here is attached a big patch against CVS that allows dynamic modules for 
jabberd2!
Instead of a monolithic sm which have everything statically linked, 
eating memory and making new plugins integration hard because user have 
had to patch several files and deal with possible conflicts because 
fixed namespaces index in mm.c/sm.h

With this patch, every module is a standalone shared library loaded at 
runtime when needed! You can even hot reload, add or remove modules 
without restarting sm by SIGHUP.

I believe it should work on Windows too but I have not tested for it yet 
(please feedback).

--cv
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dynamic-modules.patch
URL: <https://www.jabber.org/jdev/attachments/20050808/d9c131e0/attachment-0001.asc>


More information about the JDev mailing list