> If you say you can collect all sections and all params with
> Tcl and do your cross-checking, why bother?

Because only during startup we have a chance to gather a knowledge of "core" 
configuration options via the Ns_Config* C-command calls.

Only at a stage somewhere at the end of the startup process I can identify 
options belonging to sections I did not Ns_Config-request and therefor assume 
that a particular option is
a) "unknown" aka. not belonging to a section or
b) "unknown" in section x but was Ns_Config-requested elsewhere, where it was 
not found and the default value was used

The C-level-Ns_Config-calls-during-startup here are my "authoritative" guides 
to build a list of configuration options. Later on in TCL I have to accept 
milly/vanilly or any other part in the soup unless I create a mandatory list 
from the source code by hand. This is the way now for everyone of us to 
identify 
a) parameters that are not used any more!
b) default values!
c) even options you never heard of!

Bernd.

Reply via email to