]> wimlib.net Git - wimlib/blobdiff - src/xml.h
wimfs_readlink(): Use wim_pathname_to_inode()
[wimlib] / src / xml.h
index d1670f87a64156b53f015269df8fd6861cc2204a..701a93a34fd01187e4d66dbd2200b54203fb2d00 100644 (file)
--- a/src/xml.h
+++ b/src/xml.h
@@ -7,7 +7,7 @@
 struct wim_info {
        u64 total_bytes;
        u64 num_images;
-       /* Array of WIMImageInfos, one for each image in the WIM that is
+       /* Array of `struct image_info's, one for each image in the WIM that is
         * mentioned in the XML data. */
        struct image_info *images;
 };
@@ -24,9 +24,7 @@ extern void xml_update_image_info(WIMStruct *w, int image);
 
 extern void xml_delete_image(struct wim_info **wim_info_p, int image);
 
-extern int xml_add_image(WIMStruct *w, struct dentry *root_dentry, 
-                        const char *name, const char *description, 
-                        const char *flags);
+extern int xml_add_image(WIMStruct *w, const char *name);
 
 extern void free_wim_info(struct wim_info *info);