summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-23 23:05:30 +0100
committerMichael Adam <obnox@samba.org>2009-04-27 11:21:04 +0200
commitc9b1734419e795b1f57882de37758e7f1ee25b94 (patch)
treec40b1d0c2f623ce453416e2a6cf6630bf547016e /source3
parentcec84287473fffa1aee833163bad9f0d337ffb49 (diff)
downloadsamba-c9b1734419e795b1f57882de37758e7f1ee25b94.tar.gz
samba-c9b1734419e795b1f57882de37758e7f1ee25b94.tar.bz2
samba-c9b1734419e795b1f57882de37758e7f1ee25b94.zip
s3:registry replace typedef REGISTRY_HOOK by struct registry_hook.
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/include/reg_objects.h4
-rw-r--r--source3/registry/reg_init_full.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index a3f9c9c591..5a4f516402 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -145,10 +145,10 @@ typedef struct {
bool (*values_need_update)(struct regval_ctr *values);
} REGISTRY_OPS;
-typedef struct {
+struct registry_hook {
const char *keyname; /* full path to name of key */
REGISTRY_OPS *ops; /* registry function hooks */
-} REGISTRY_HOOK;
+};
/* structure to store the registry handles */
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index b5a06f2582..206dcd140b 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -37,10 +37,10 @@ extern REGISTRY_OPS current_version_reg_ops;
extern REGISTRY_OPS perflib_reg_ops;
extern REGISTRY_OPS regdb_ops; /* these are the default */
-/* array of REGISTRY_HOOK's which are read into a tree for easy access */
+/* array of registry_hook's which are read into a tree for easy access */
/* #define REG_TDB_ONLY 1 */
-REGISTRY_HOOK reg_hooks[] = {
+struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
{ KEY_PRINTING, &printing_ops },
{ KEY_PRINTING_2K, &printing_ops },
@@ -58,7 +58,7 @@ REGISTRY_HOOK reg_hooks[] = {
};
/***********************************************************************
- Open the registry database and initialize the REGISTRY_HOOK cache
+ Open the registry database and initialize the registry_hook cache
with all available backens.
***********************************************************************/