struct stat;
struct lookup_table;
-typedef struct WIMStruct WIMStruct;
+struct WIMStruct;
/* Size of the struct dentry up to and including the file_name_len. */
#define WIM_DENTRY_DISK_SIZE 102
* Unfortunately, in some WIMs it is NOT the case that all dentries that
* share this field are actually in the same hard link set, although the
* WIMs that wimlib writes maintain this restriction. */
- u64 hard_link;
+ u64 link_group_id;
/* Number of alternate data streams associated with this file. */
u16 num_ads;
};
/* Path to extracted file on disk (used during extraction only)
- * (malloc()ed buffer) */
+ * (malloc()ed buffer, or set the same as full_path_utf8) */
char *extracted_file;
};
extern int print_dentry(struct dentry *dentry, void *lookup_table);
extern int print_dentry_full_path(struct dentry *entry, void *ignore);
-extern struct dentry *get_dentry(WIMStruct *w, const char *path);
-extern struct dentry *get_parent_dentry(WIMStruct *w, const char *path);
+extern struct dentry *get_dentry(struct WIMStruct *w, const char *path);
+extern struct dentry *get_parent_dentry(struct WIMStruct *w, const char *path);
extern struct dentry *get_dentry_child_with_name(const struct dentry *dentry,
const char *name);
extern void dentry_update_all_timestamps(struct dentry *dentry);