summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-11 14:27:45 +0100
committerGünther Deschner <gd@samba.org>2010-03-11 14:36:42 +0100
commit10b97ed9e423d7c13e9b2daf118764a73db9096a (patch)
tree2ea6e2bf6d8122c994b56b9362c036044da92683 /source4
parentd4b8fb15b83140f217334fc848526dbcf33ee8fa (diff)
downloadsamba-10b97ed9e423d7c13e9b2daf118764a73db9096a.tar.gz
samba-10b97ed9e423d7c13e9b2daf118764a73db9096a.tar.bz2
samba-10b97ed9e423d7c13e9b2daf118764a73db9096a.zip
s4-registry: add all winreg types to reg_value_types table.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/util.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 8a4bc92fe1..7da53d381d 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -30,11 +30,19 @@ static const struct {
uint32_t id;
const char *name;
} reg_value_types[] = {
+ { REG_NONE, "REG_NONE" },
{ REG_SZ, "REG_SZ" },
- { REG_DWORD, "REG_DWORD" },
- { REG_BINARY, "REG_BINARY" },
{ REG_EXPAND_SZ, "REG_EXPAND_SZ" },
- { REG_NONE, "REG_NONE" },
+ { REG_BINARY, "REG_BINARY" },
+ { REG_DWORD, "REG_DWORD" },
+ { REG_DWORD_BIG_ENDIAN, "REG_DWORD_BIG_ENDIAN" },
+ { REG_LINK, "REG_LINK" },
+ { REG_MULTI_SZ, "REG_MULTI_SZ" },
+ { REG_RESOURCE_LIST, "REG_RESOURCE_LIST" },
+ { REG_FULL_RESOURCE_DESCRIPTOR, "REG_FULL_RESOURCE_DESCRIPTOR" },
+ { REG_RESOURCE_REQUIREMENTS_LIST, "REG_RESOURCE_REQUIREMENTS_LIST" },
+ { REG_QWORD, "REG_QWORD" },
+
{ 0, NULL }
};