On Sat, Feb 04, 2006 at 02:27:20PM +0000, seventh guardian wrote: > On 2/2/06, Dominik Vogt <[EMAIL PROTECTED]> wrote: > > > So, the work can be split into several smaller steps: > > > > 1. Make all the modules use ParseModuleArgs() and copy the fds > > from the ModuleArgs struct to the arrays that are currently > > used by the modules. > > 2. Remove the fd arrays in the modules and use the fds in the > > ModuleArgs instead. > > 3. Make the service functions in Module.c use a (const ModuleArgs *) > > instead of passing individual arguments and adapt the modules. > > > > I'm working on it. I have a question though: modules usually use a > global var to store the name lenght. Should it be stored in the > ModuleArgs struct or should the modules call strlen() every time?
I see no reson for not putting it in the ModuleArgs struct. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature