From 149d94dd8f5513af9f75d568507c880c63b9187e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 25 Feb 2009 00:33:24 +0100 Subject: s3:registry: remove definition of regsubkey_ctr from the surface. All access is now through accessor functions in reg_objects.c This allows for performance tuning under the hood in the next step. Michael --- source3/include/reg_objects.h | 6 +----- source3/registry/reg_objects.c | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h index 6081eb482c..421db72d29 100644 --- a/source3/include/reg_objects.h +++ b/source3/include/reg_objects.h @@ -66,11 +66,7 @@ typedef struct { /* container for registry subkey names */ -struct regsubkey_ctr { - uint32 num_subkeys; - char **subkeys; - int seqnum; -}; +struct regsubkey_ctr; /* * diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index f97ca69139..c3d67a01ed 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -24,6 +24,12 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY +struct regsubkey_ctr { + uint32 num_subkeys; + char **subkeys; + int seqnum; +}; + /********************************************************************** Note that the struct regsubkey_ctr and REGVAL_CTR objects *must* be -- cgit