s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
authorMichael Adam <obnox@samba.org>
Sun, 23 May 2010 22:05:26 +0000 (00:05 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 25 May 2010 08:35:31 +0000 (10:35 +0200)
source3/include/reg_objects.h
source3/registry/reg_objects.c

index 282b1a63dd85331a2c63ee0980279152e8de2319..a0a830622cc719e61bebd5bd986855d48ca57cbb 100644 (file)
 
 /* low level structure to contain registry values */
 
-struct regval_blob {
-       fstring         valuename;
-       uint16          type;
-       /* this should be encapsulated in an RPC_DATA_BLOB */
-       uint32          size;   /* in bytes */
-       uint8           *data_p;
-};
+struct regval_blob;
 
 /*
  * A REG_SZ string is not necessarily NULL terminated. When retrieving it from
@@ -58,11 +52,7 @@ struct registry_value {
 
 /* container for registry values */
 
-struct regval_ctr {
-       uint32          num_values;
-       struct regval_blob **values;
-       int seqnum;
-};
+struct regval_ctr;
 
 /* container for registry subkey names */
 
index 6765a7d7d0fa0db6a604a3bc4b8706da33406a51..55559461280864875b28b9c2dcfbdc44d4c8a66a 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_REGISTRY
 
+/* low level structure to contain registry values */
+
+struct regval_blob {
+       fstring         valuename;
+       uint16          type;
+       /* this should be encapsulated in an RPC_DATA_BLOB */
+       uint32          size;   /* in bytes */
+       uint8           *data_p;
+};
+
+/* container for registry values */
+
+struct regval_ctr {
+       uint32          num_values;
+       struct regval_blob **values;
+       int seqnum;
+};
+
 struct regsubkey_ctr {
        uint32_t        num_subkeys;
        char            **subkeys;