httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: apache/linux modules
Date Tue, 03 Feb 1998 04:54:03 GMT
On Mon, 2 Feb 1998, Cristian Gafton wrote:

> On Mon, 2 Feb 1998, Marc Slemko wrote:
> 
> > How do you extract this structure if we don't know the name?
> 
> Establish a convention:
> 
> a) all modules export - when compiled as a shared lib - the module
> structure under the same name ("module", or "module_struct" or wahtever)
> 
> b) if the file is mod-NAME.so, then look for the presence of the
> "NAME_module" structure

Stick with the current standard mod_foo <--> foo_module I think...

It already is a pseudo-standard.

The other option is to require some metainfo; eg. module.info that lists
it or embed a string in the .o file that can be read for it.  Don't like
either of those though.


Mime
View raw message