[IRCServices] Modules

Ian R. Justman ianj at esper.net
Thu Sep 30 15:36:58 PDT 1999


On Wed, 29 Sep 1999, Andrew Kempe wrote:

> Point me in the direction of some example code and some documentation and
> I'm more than willing to attempt to provide this type of support.
> 
> I've been toying with the idea of modules for a while now - mainly due to
> the number of requests for specific addtions to Services. By having module
> support, DALnet specific enhancements, detailed statistics etc would be
> easier to implement. Currently Services is modular in the sense of #define
> blocks :)

Listar and Apache (the latter being the most commonly-used program to use
this) use dynamically-loadable modules to extend their functionality. You
might look at the dl* calls, like in Linux's and Solaris' libdl.so;
FreeBSD has the dl functions built into their libc.

And if you come across a platform which does not support
dynamically-linkable modules or those whose dynamic support is either too
hairy or broken, you'd have to build otherwise-dynamic functions directly
into the services binary statically. 

--Ian R. Justman, Co-Founder and Postmaster, The EsperNet IRC Network.

-----
Ian R. Justman (NIC handle IJ12)  ianj at esper.net (Official EsperNet business)
Co-Founder and Postmaster, The EsperNet IRC Network
Server Administrator, chocobo.esper.net "IJ" on IRC

PGP key available upon request, or finger ianj at esper.net.

If this message was signed with the Postmaster's key, please finger
postmaster at esper.net for the Postmaster public key.

Type Bits/KeyID    Date       User ID
pub  1024/BAB34B69 1997/11/15 EsperNet Postmaster <postmaster at esper.net>
            Key fingerprint = 05 BD 7C B5 8E 0B FD EF  EE 47 49 C4 96 11 59 75

---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.