summaryrefslogtreecommitdiff
path: root/source3/include/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/registry.h')
-rw-r--r--source3/include/registry.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/source3/include/registry.h b/source3/include/registry.h
index 00c27cf021..9e7a1d2d0f 100644
--- a/source3/include/registry.h
+++ b/source3/include/registry.h
@@ -23,29 +23,9 @@
#ifndef _REGISTRY_H
#define _REGISTRY_H
-/*
- * 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 {
- size_t len;
- char *str;
-};
-
struct registry_value {
enum winreg_Type type;
- union {
- uint32 dword;
- uint64 qword;
- struct registry_string sz;
- struct {
- uint32 num_strings;
- char **strings;
- } multi_sz;
- DATA_BLOB binary;
- } v;
+ DATA_BLOB data;
};
/* forward declarations. definitions in reg_objects.c */