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? Cheers, Renato Caldas