diff options
author | Michael Adam <obnox@samba.org> | 2009-02-25 00:33:24 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-26 13:22:53 +0100 |
commit | 149d94dd8f5513af9f75d568507c880c63b9187e (patch) | |
tree | 99fd310078141c91253e7585fe06d5a6feca9814 | |
parent | d2fc3abeeac89fac345ef8218685e490b1a470e6 (diff) | |
download | samba-149d94dd8f5513af9f75d568507c880c63b9187e.tar.gz samba-149d94dd8f5513af9f75d568507c880c63b9187e.tar.bz2 samba-149d94dd8f5513af9f75d568507c880c63b9187e.zip |
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
-rw-r--r-- | source3/include/reg_objects.h | 6 | ||||
-rw-r--r-- | 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 |