summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_private.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-20 18:40:09 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 02:25:56 +0100
commitac7c582ec0a357c5b0e53bf38dd09a34eaab64eb (patch)
treed7116791542cf4ee80a553bb0a182e2eb45c9c01 /source3/lib/smbconf/smbconf_private.h
parent2135f7dd61ea46b539fefc9af3d0212a9281edcd (diff)
downloadsamba-ac7c582ec0a357c5b0e53bf38dd09a34eaab64eb.tar.gz
samba-ac7c582ec0a357c5b0e53bf38dd09a34eaab64eb.tar.bz2
samba-ac7c582ec0a357c5b0e53bf38dd09a34eaab64eb.zip
libsmbconf: add open and close operations to the smbconf_ops.
Note: currently, reg_init_smbconf opens the registry, but does not close it. This has to be changed. so that it is closed. And then libsmbconf will need these open/close functions Michael (This used to be commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
Diffstat (limited to 'source3/lib/smbconf/smbconf_private.h')
-rw-r--r--source3/lib/smbconf/smbconf_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/smbconf/smbconf_private.h b/source3/lib/smbconf/smbconf_private.h
index d9e0f1396a..a8dc23fefc 100644
--- a/source3/lib/smbconf/smbconf_private.h
+++ b/source3/lib/smbconf/smbconf_private.h
@@ -22,6 +22,8 @@
struct smbconf_ops {
WERROR (*init)(struct smbconf_ctx *ctx);
+ WERROR (*open_conf)(struct smbconf_ctx *ctx);
+ int (*close_conf)(struct smbconf_ctx *ctx);
void (*get_csn)(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
const char *service, const char *param);
WERROR (*drop)(struct smbconf_ctx *ctx);