libsmbconf: add get_includes() and set_includes() to the API.
authorMichael Adam <obnox@samba.org>
Mon, 7 Apr 2008 23:56:32 +0000 (01:56 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 9 Apr 2008 23:28:57 +0000 (01:28 +0200)
commit8e9766289972ecf3f4bcaa1a9ed118bba5fea208
treec598d5fde42d7f62601c5512cd9ad4bb06957dfc
parentdf6b68b07352a7265a3b6197a9334df77e44d0d2
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
(This used to be commit e86eb375d9f83f73aeea0a16c8b43e2ef21a6e20)
source3/lib/smbconf/smbconf.c
source3/lib/smbconf/smbconf.h
source3/lib/smbconf/smbconf_private.h
source3/lib/smbconf/smbconf_reg.c
source3/lib/smbconf/smbconf_txt_simple.c