From ac7c582ec0a357c5b0e53bf38dd09a34eaab64eb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 20 Mar 2008 18:40:09 +0100 Subject: 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) --- source3/lib/smbconf/smbconf_private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/lib/smbconf/smbconf_private.h') 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); -- cgit