s3:registry: remove definition of regsubkey_ctr from the surface.
authorMichael Adam <obnox@samba.org>
Tue, 24 Feb 2009 23:33:24 +0000 (00:33 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 19 Mar 2009 17:03:59 +0000 (18:03 +0100)
All access is now through accessor functions in reg_objects.c
This allows for performance tuning under the hood in the next step.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
source/include/reg_objects.h
source/registry/reg_objects.c

index 6081eb482cf855b1e2f2a5352fdeda4614e53fde..421db72d29f4e39859483fed96a2f2807242a4ec 100644 (file)
@@ -66,11 +66,7 @@ typedef struct {
 
 /* container for registry subkey names */
 
-struct regsubkey_ctr {
-       uint32          num_subkeys;
-       char            **subkeys;
-       int seqnum;
-};
+struct regsubkey_ctr;
 
 /*
  *
index f97ca69139d1f7541906a2e6c9a57bb194a86445..c3d67a01ed180c4dd101994932799602265b2727 100644 (file)
 #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