/*
* WIM inode.
*
- * As mentioned in the comment above `struct wim_dentry', in the WIM file that
+ * As mentioned in the comment above `struct wim_dentry', in WIM files there
* is no on-disk analogue of a real inode, as most of these fields are
* duplicated in the dentries. Instead, a `struct wim_inode' is something we
* create ourselves to simplify the handling of hard links.
#endif
};
+ /* Used during WIM writing with
+ * WIMLIB_WRITE_FLAG_SEND_DONE_WITH_FILE_MESSAGES: the number
+ * of data streams this inode has that have not yet been fully
+ * read. */
+ u32 num_unread_streams;
+
#ifdef WITH_FUSE
struct {
/* Used only during image mount: Table of file
extern int
read_ads_entries(const u8 * restrict p, struct wim_inode * restrict inode,
- size_t nbytes_remaining);
+ size_t *nbytes_remaining_p);
extern int
verify_inode(struct wim_inode *inode, const struct wim_security_data *sd);