#ifndef _WIMLIB_DENTRY_H
#define _WIMLIB_DENTRY_H
-#include "util.h"
-#include "config.h"
-#include "list.h"
-#include "sha1.h"
-#include "rbtree.h"
+#include "wimlib/list.h"
+#include "wimlib/rbtree.h"
+#include "wimlib/sha1.h"
+#include "wimlib/types.h"
+
#include <string.h>
+#include <sys/types.h> /* uid_t, gid_t */
#ifdef WITH_FUSE
-#include <pthread.h>
+# include <pthread.h>
#endif
-struct stat;
struct wim_lookup_table;
-struct WIMStruct;
struct wim_lookup_table_entry;
struct wimfs_fd;
struct wim_inode;
-struct wim_dentry;
/* Size of the struct wim_dentry up to and including the file_name_len. */
#define WIM_DENTRY_DISK_SIZE 102
dentry_full_path(struct wim_dentry *dentry);
extern struct wim_inode *
-new_timeless_inode();
+new_timeless_inode(void);
extern int
new_dentry(const tchar *name, struct wim_dentry **dentry_ret);
return dentry->file_name_nbytes != 0;
}
+extern void
+inode_ref_streams(struct wim_inode *inode);
+
+extern int
+dentry_tree_fix_inodes(struct wim_dentry *root, struct list_head *inode_list);
+
+extern int
+verify_dentry(struct wim_dentry *dentry, void *wim);
+
#endif