[JDEV] A thought on modularity
quest at netg.se
Sun Aug 8 17:37:14 CDT 1999
Just had a look at mod_basic and had a thought. All the callback
functions gets a pile of parameters to handle. Wouldn't it be better
if they got a fat struct instead? Apart from making the function def
shorter, it would also mean that the list of stuff that gets sent to
the callback can be added to without breaking older code.
This is how Apache does things. Also, Apache includes pointers to
'internal' data structures which may be helpful to modules in those
... or has this been discussed before?
Anders "Quest" Qvist
-- Why suffer scarcity? Look for the Open Source and enter a world of plenty!
More information about the JDev