r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameter
authorMichael Adam <obnox@samba.org>
Thu, 16 Aug 2007 15:27:06 +0000 (15:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:52 +0000 (12:29 -0500)
commit113ac07199aaf2271af6eba2611dad429ee4c416
treeaf44995b3ef0ca3a059f152ef565af92b38ba2cf
parent301ae3d68bc64c9526eb7d4458584a5ebb151137
r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameter
and produces the "canonical" (or main) name of the parameter (the one
synonym that does not have the flag FLAG_HIDE). The function also sets
a flag as to whether the synonym is a reverse boolean synonym.

Add some functions for the handling of string representations of boolean
values: return the canonical string representation of a bool, invert
a bool given as a string, canonicalize a bool given as a string.

Michael
source/param/loadparm.c