X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimlib_internal.h;h=1dfc43674cf3679bbfd569dfcf6827ee3a397586;hp=1d3edcd7cc3f43cf1c03cdf56b03b929812a9fef;hb=ff556d243953bd6df1399466c452f327feae2ed9;hpb=337df3674d64fff382890d1e8757dadf57d93b1f diff --git a/src/wimlib_internal.h b/src/wimlib_internal.h index 1d3edcd7..1dfc4367 100644 --- a/src/wimlib_internal.h +++ b/src/wimlib_internal.h @@ -474,7 +474,8 @@ init_inode_table(struct wim_inode_table *table, size_t capacity); extern int inode_table_new_dentry(struct wim_inode_table *table, const tchar *name, - u64 ino, u64 devno, struct wim_dentry **dentry_ret); + u64 ino, u64 devno, bool noshare, + struct wim_dentry **dentry_ret); extern void inode_ref_streams(struct wim_inode *inode); @@ -553,18 +554,21 @@ struct apply_args { struct _ntfs_volume *vol; }; #endif - struct { - /* Normal apply only (UNIX) */ - unsigned long num_utime_warnings; - }; - + #ifdef __WIN32__ struct { /* Normal apply only (Win32) */ unsigned long num_set_sacl_priv_notheld; unsigned long num_set_sd_access_denied; unsigned vol_flags; + unsigned long num_hard_links_failed; bool have_vol_flags; }; + #else + struct { + /* Normal apply only (UNIX) */ + unsigned long num_utime_warnings; + }; + #endif }; }; @@ -671,6 +675,8 @@ inode_set_symlink(struct wim_inode *inode, const char *target, struct wim_lookup_table *lookup_table, struct wim_lookup_table_entry **lte_ret); #endif +extern tchar * +fixup_symlink(tchar *dest, u64 capture_root_ino, u64 capture_root_dev); /* verify.c */