summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-24 00:05:26 +0200
committerMichael Adam <obnox@samba.org>2010-05-25 10:35:31 +0200
commit75e691ae6baeac88878e2c8107ceb7e057fd4c5b (patch)
treecebe544bf9e50582a7b81fa229968e7d5ba5d301
parent0e8e5d5d6e7a1ab54cd108d70ade6aa884effe8f (diff)
downloadsamba-75e691ae6baeac88878e2c8107ceb7e057fd4c5b.tar.gz
samba-75e691ae6baeac88878e2c8107ceb7e057fd4c5b.tar.bz2
samba-75e691ae6baeac88878e2c8107ceb7e057fd4c5b.zip
s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
-rw-r--r--source3/include/reg_objects.h14
-rw-r--r--source3/registry/reg_objects.c18
2 files changed, 20 insertions, 12 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index 282b1a63dd..a0a830622c 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -23,13 +23,7 @@
/* 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 */
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index 6765a7d7d0..5555946128 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -25,6 +25,24 @@
#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;