libsmbconf: add a "path" variable to the conf context.
commit96434d9dc7a66773e313cc128af57493dee245a1
authorMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 16:55:31 +0000 (21 17:55 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 17:19:24 +0000 (21 18:19 +0100)
treed8a003552afd71b8003d1cfcb09f1a547297668f
parent4f816df27670c3b6aabea9f26ef2d26f3e882e78
libsmbconf: add a "path" variable to the conf context.

This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.

In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.

Michael
source/lib/netapi/serverinfo.c
source/lib/smbconf/smbconf.c
source/lib/smbconf/smbconf.h
source/lib/smbconf/smbconf_private.h
source/lib/smbconf/smbconf_reg.c
source/libnet/libnet_join.c
source/param/loadparm.c
source/utils/net_conf.c