libsmbconf: add get_includes() and set_includes() to the API.
commite86eb375d9f83f73aeea0a16c8b43e2ef21a6e20
authorMichael Adam <obnox@samba.org>
Mon, 7 Apr 2008 23:56:32 +0000 (8 01:56 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 9 Apr 2008 23:28:57 +0000 (10 01:28 +0200)
tree2e855192a5b7d217d76ab8b90b2e8fac804faaa3
parentc65575f831e9929ef7e66f2c7bfeed50f135b4b2
libsmbconf: add get_includes() and set_includes() to the API.

Includes have to get a special treatment, at least for registry.
Includes are not like other smbconf parameters: they are some kind
of metainformation. "include" has two effects when stated twice so
it can not be stored boldly into registry, since there can only be
one value named "include" in registry per key.

I will provide special handling for includes for the registry backend.

This patch provides the necessary methods in the smbconf API.

Michael
source/lib/smbconf/smbconf.c
source/lib/smbconf/smbconf.h
source/lib/smbconf/smbconf_private.h
source/lib/smbconf/smbconf_reg.c
source/lib/smbconf/smbconf_txt_simple.c