summaryrefslogtreecommitdiffstats
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-25 00:31:01 +0200
committerMichael Adam <obnox@samba.org>2010-05-25 10:35:27 +0200
commit97846edfa59b95572d176981bb4bab6a5c06b61c (patch)
treecb1f3ce32245e695811f0e00cf08e0321fd873bb /source3/registry
parente829b42978d91cf8a5ec67cd322e66a538f7fd75 (diff)
downloadsamba-97846edfa59b95572d176981bb4bab6a5c06b61c.tar.gz
samba-97846edfa59b95572d176981bb4bab6a5c06b61c.tar.xz
samba-97846edfa59b95572d176981bb4bab6a5c06b61c.zip
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_init_full.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index 265fed30ca..8c012e89ee 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -45,6 +45,11 @@ extern struct registry_ops regdb_ops; /* these are the default */
/* array of registry_hook's which are read into a tree for easy access */
/* #define REG_TDB_ONLY 1 */
+struct registry_hook {
+ const char *keyname; /* full path to name of key */
+ struct registry_ops *ops; /* registry function hooks */
+};
+
struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
{ KEY_PRINTING, &printing_ops },