summaryrefslogtreecommitdiff
path: root/source3/registry
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 /source3/registry
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
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_objects.c18
1 files changed, 18 insertions, 0 deletions
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;