From 413c2e9b0aed25ef49b4344c1aec145d0e45a51e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 13 Apr 2008 00:54:44 +0200 Subject: registry: remove the REGISTRY_HOOKS layer from the reghook cache. There is no need to save the keyname again, we only need to get the REGISTRY_OPS out of the pathtree. Furthermore, this makes life easier, since we can now pass in keynames as temporarily allocated strings. Michael (This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da) --- source3/include/reg_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/reg_objects.h') diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h index 1d0d0d4996..d9159dd464 100644 --- a/source3/include/reg_objects.h +++ b/source3/include/reg_objects.h @@ -159,7 +159,7 @@ typedef struct _RegistryKey { uint32 type; char *name; /* full name of registry key */ uint32 access_granted; - REGISTRY_HOOK *hook; + REGISTRY_OPS *ops; } REGISTRY_KEY; struct registry_key { -- cgit