Refactor some of the dentry, inode, and lookup table code
authorEric Biggers <ebiggers3@gmail.com>
Mon, 13 Jan 2014 04:50:01 +0000 (22:50 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 13 Jan 2014 05:16:33 +0000 (23:16 -0600)
commit5d3d469e410dc5f4a28814ad231336fc174cba56
treecac83824669062a7a39f3c1fbcd0e1e896fd2786
parent349933ac7e49ee5a807396bfa27e2bf1684f4103
Refactor some of the dentry, inode, and lookup table code

- Remove hardlink.c.  Its code is now split between inode.c and
  inode_fixup.c.
- Factor inode-related code out of dentry.h and dentry.c and place in
  inode.h and inode.c.
- Move wimlib_reference_resource_files() and wimlib_reference_resources()
  implementations to reference.c.
- Move wimlib_iterate_dir_tree() implementation to iterate_dir.c.
- Move wimlib_reference_template_image() to template.c.
- Move wim_pathname_to_stream() to dentry.c as it deals primarily with
  path walking.
- Remove 'unhashed_streams' member from 'struct wim_lookup_table'.  It
  now is stored separately in 'struct add_image_params'.
- Rename some *resource functions to *stream.
- Rename set_dentry_name() => dentry_set_name().
- Move 'struct ntfs_location' definition to ntfs_3g.h.
- Move UNIX data definitions to new header unix_data.h.
- Move case sensitivity definitions to new header case.h.
32 files changed:
Makefile.am
include/wimlib/capture.h
include/wimlib/case.h [new file with mode: 0644]
include/wimlib/dentry.h
include/wimlib/encoding.h
include/wimlib/inode.h [new file with mode: 0644]
include/wimlib/inode_table.h [new file with mode: 0644]
include/wimlib/lookup_table.h
include/wimlib/metadata.h
include/wimlib/ntfs_3g.h
include/wimlib/unix_data.h [new file with mode: 0644]
include/wimlib/util.h
src/dentry.c
src/encoding.c
src/export_image.c
src/extract.c
src/inode.c [new file with mode: 0644]
src/inode_fixup.c [moved from src/hardlink.c with 74% similarity]
src/iterate_dir.c [new file with mode: 0644]
src/lookup_table.c
src/mount_image.c
src/ntfs-3g_capture.c
src/reference.c [new file with mode: 0644]
src/resource.c
src/template.c [new file with mode: 0644]
src/unix_apply.c
src/unix_capture.c
src/update_image.c
src/verify.c
src/win32_capture.c
src/write.c
tests/test-imagex-ntfs