From 10b97ed9e423d7c13e9b2daf118764a73db9096a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 11 Mar 2010 14:27:45 +0100 Subject: s4-registry: add all winreg types to reg_value_types table. Guenther --- source4/lib/registry/util.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'source4/lib') 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 } }; -- cgit