extern int
for_dentry_in_tree(struct wim_dentry *root,
- int (*visitor)(struct wim_dentry*, void*),
- void *args);
+ int (*visitor)(struct wim_dentry *, void *), void *args);
/* Iterate through each @child dentry of the @dir directory inode,
* in sorted order by case sensitive name. */
calculate_subdir_offsets(struct wim_dentry *root, u64 *subdir_offset_p);
extern int
-dentry_set_name(struct wim_dentry *dentry, const tchar *new_name);
+dentry_set_name(struct wim_dentry *dentry, const tchar *name);
extern int
-dentry_set_name_utf16le(struct wim_dentry *dentry, const utf16lechar *new_name,
- size_t new_name_nbytes);
+dentry_set_name_utf16le(struct wim_dentry *dentry, const utf16lechar *name,
+ size_t name_nbytes);
extern struct wim_dentry *
-get_dentry(struct WIMStruct *wim, const tchar *path,
- CASE_SENSITIVITY_TYPE case_type);
+get_dentry(WIMStruct *wim, const tchar *path, CASE_SENSITIVITY_TYPE case_type);
extern struct wim_dentry *
-get_dentry_child_with_name(const struct wim_dentry *dentry,
- const tchar *name,
+get_dentry_child_with_name(const struct wim_dentry *dentry, const tchar *name,
CASE_SENSITIVITY_TYPE case_type);
extern struct wim_dentry *
CASE_SENSITIVITY_TYPE case_type);
extern struct wim_dentry *
-get_parent_dentry(struct WIMStruct *wim, const tchar *path,
+get_parent_dentry(WIMStruct *wim, const tchar *path,
CASE_SENSITIVITY_TYPE case_type);
extern int
new_dentry_with_existing_inode(const tchar *name, struct wim_inode *inode,
struct wim_dentry **dentry_ret);
-extern void
-dentry_tree_clear_inode_visited(struct wim_dentry *root);
-
extern int
new_filler_directory(struct wim_dentry **dentry_ret);
free_dentry(struct wim_dentry *dentry);
extern void
-free_dentry_tree(struct wim_dentry *root,
- struct blob_table *blob_table);
+free_dentry_tree(struct wim_dentry *root, struct blob_table *blob_table);
extern void
unlink_dentry(struct wim_dentry *dentry);
{
return dentry->d_short_name_nbytes != 0;
}
+
#endif /* _WIMLIB_DENTRY_H */