From f99af84e6a48c8e3e3e4af9f06d31669a6fb2d90 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 26 Dec 2007 01:03:28 +0100 Subject: Move libnet_smbconf_reg_open_basepath() in source file to group helper functions more logically. Michael (This used to be commit 3fa3891f8721e9f02594cd1be2dc6b9b88692416) --- source3/libnet/libnet_conf.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index 3c765769fe..93e13009a4 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -63,6 +63,15 @@ done: return werr; } +/* + * open the base key KEY_SMBCONF + */ +WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx, uint32 desired_access, + struct registry_key **key) +{ + return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key); +} + /* * check if a subkey of KEY_SMBCONF of a given name exists */ @@ -100,15 +109,6 @@ static bool libnet_smbconf_value_exists(struct registry_key *key, return ret; } -/* - * open the base key KEY_SMBCONF - */ -WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx, uint32 desired_access, - struct registry_key **key) -{ - return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key); -} - /* * create a subkey of KEY_SMBCONF */ -- cgit