r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameter
commitbf374d3d3d12ed352ba8add9b5633855f2851c01
authorMichael Adam <obnox@samba.org>
Thu, 16 Aug 2007 15:27:06 +0000 (16 15:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:52 +0000 (10 12:29 -0500)
treeefe2fdf6d0144a1acd6b724e22443987d03d4477
parent93fc3a024820bd4a01565b301d37b0e4106500ac
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
(This used to be commit 113ac07199aaf2271af6eba2611dad429ee4c416)
source3/param/loadparm.c