[sr-dev] more fixups in mod_fix.h or what?

Juha Heinanen jh at tutpro.com
Thu Apr 8 10:06:30 CEST 2010


another possibility to make fixups scalable would be to specify the
argument of the fixup function, something like

{"test", (cmd_function)test, generic_fixup, "pvar,str,spve", REQUEST_ROUTE |
FAILURE_ROUTE},

then it would be easy to write this generic fixup function that would
accept a list of known parameter types as the argument.

now that functions can have more than two args, the fixup system must be
fixed in order to make writing of modules easier.  i would be trivial
for me to clean the enum module functions if the fixup system would be
more user friendly.

-- juha



More information about the sr-dev mailing list