* that Microsoft may have fixed this problem, since I've only noticed it in the
* 'install.wim' for Windows 7). For those dentries, we have to use the
* conflicting fields to split up the hard link groups. (See
- * dentry_tree_fix_inodes() in hardlink.c).
+ * dentry_tree_fix_inodes() in inode_fixup.c.)
*/
struct wim_dentry {
/* Pointer to the inode for this dentry. This will contain some
extern int
-read_dentry(const u8 * restrict metadata_resource,
- u64 metadata_resource_len, u64 offset,
- struct wim_dentry * restrict dentry);
-
-extern int
-read_dentry_tree(const u8 * restrict metadata_resource,
- u64 metadata_resource_len,
- struct wim_dentry * restrict dentry);
+read_dentry_tree(const u8 *buf, size_t buf_len,
+ u64 root_offset, struct wim_dentry **root_ret);
extern u8 *
write_dentry_tree(const struct wim_dentry * restrict tree,