From bd90da5b60b82c8ddc82fa434aa724fba0749e0c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 May 2006 13:16:58 +0000 Subject: r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys. Patch by Wilco Baan Hofman (This used to be commit 02859870d62b875eca5feff175c489a93fa7ad84) --- source4/lib/registry/regf.idl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source4/lib/registry/regf.idl') diff --git a/source4/lib/registry/regf.idl b/source4/lib/registry/regf.idl index 8f5db8c236..48a34462e6 100644 --- a/source4/lib/registry/regf.idl +++ b/source4/lib/registry/regf.idl @@ -2,13 +2,13 @@ Definitions for the REGF registry file format as used by Windows NT4 and above. - Written by Jelmer Vernooij, 2005 + Copyright (C) 2005 Jelmer Vernooij, jelmer@samba.org + Copyright (C) 2006 Wilco Baan Hofman, wilco@baanhofman.nl Based on two files from Samba 3: regedit.c by Richard Sharpe regfio.c by Jerry Carter - Thanks to Wilco Baan Hofman for some of the info on li and ri fields. */ interface regf @@ -114,25 +114,25 @@ interface regf uint8 sec_desc[rec_size]; } sk_block; - typedef [noprint,nopush,nopull] struct { - uint32 offset_nk; + typedef [noprint] struct { + uint32 nk_offset; uint32 base37; /* base37 of key name */ } lh_hash; /* Subkey listing with hash of first 4 characters */ - typedef [noprint,nopush,nopull] struct { + typedef [public,noprint] struct { [charset(DOS)] uint8 header[2]; uint16 key_count; - lh_hash hashes[key_count]; + lh_hash hr[key_count]; } lh_block; - typedef [noprint,nopush,nopull] struct { + typedef [public,noprint] struct { [charset(DOS)] uint8 header[2]; uint16 key_count; - uint32 offset_nk[key_count]; + uint32 nk_offset[key_count]; } li_block; - typedef [noprint,nopush,nopull] struct { + typedef [public,noprint] struct { [charset(DOS)] uint8 header[2]; uint16 key_count; uint32 offset[key_count]; /* li/lh offset */ @@ -151,7 +151,7 @@ interface regf } vk_block; typedef [noprint] struct { - uint32 nk_off; + uint32 nk_offset; [charset(DOS)] uint8 hash[4]; } hash_record; -- cgit