libsmbconf: add internal open/close handling to registry backend.
authorMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 22:39:01 +0000 (23:39 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Mar 2008 22:43:52 +0000 (23:43 +0100)
commita81ed36e86cf9c275538aea03c80c1ee00122f4a
treec23dec9c8250f7570d30b4a9e5d8b7fa897dfa72
parentaa3e4d56cb6070a433afe4f460fc426e60882103
libsmbconf: add internal open/close handling to registry backend.

This internally keeps track of opened registry in the private data
struct. The first call that really accesses data, opens the registry
and it is kept open until the destructor is called.

This behaviour might be changed in the future.

Michael
(This used to be commit 03e72e13076e3215eb8ae51cfb4e7cd3d3683d3e)
source3/lib/smbconf/smbconf_reg.c