summaryrefslogtreecommitdiff
path: root/source3/include/reg_objects.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-21 02:21:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:57 -0500
commit202f63e476fc1dc60d9f1271673b292288cfb436 (patch)
tree4462f5deb76f7115067a1bdcb4baf5cb23e21cb0 /source3/include/reg_objects.h
parent95bfb975472f5cf63bb0ef2d19ae89945232883f (diff)
downloadsamba-202f63e476fc1dc60d9f1271673b292288cfb436.tar.gz
samba-202f63e476fc1dc60d9f1271673b292288cfb436.tar.bz2
samba-202f63e476fc1dc60d9f1271673b292288cfb436.zip
r19811: Decode REG_MULTI_SZ and REG_BINARY
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
Diffstat (limited to 'source3/include/reg_objects.h')
-rw-r--r--source3/include/reg_objects.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index 6ddbb89cc7..99da22f8cd 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -33,9 +33,9 @@ typedef struct {
} REGISTRY_VALUE;
/*
- * A registry string is not necessarily NULL terminated. When retrieving it
- * from the net, we guarantee this however. A server might want to push it
- * without the terminator though.
+ * A REG_SZ string is not necessarily NULL terminated. When retrieving it from
+ * the net, we guarantee this however. A server might want to push it without
+ * the terminator though.
*/
struct registry_string {
@@ -51,7 +51,7 @@ struct registry_value {
struct registry_string sz;
struct {
uint32 num_strings;
- struct registry_string *strings;
+ char **strings;
} multi_sz;
DATA_BLOB binary;
} v;