]> wimlib.net Git - wimlib/blobdiff - src/lookup_table.h
remove WIMStruct->output_dir
[wimlib] / src / lookup_table.h
index 9e082c77761b7b9bbd727201b80fd48672006518..434b9d89a48bb5d39e388480c379a820bd6df1c2 100644 (file)
@@ -82,9 +82,11 @@ struct lookup_table_entry {
                        /* Compression type used in other WIM. */
                        int   other_wim_ctype;
                };
-               struct wimlib_fd **fds;
-               u16 num_allocated_fds;
-               u16 num_opened_fds;
+               struct {
+                       struct wimlib_fd **fds;
+                       u16 num_allocated_fds;
+                       u16 num_opened_fds;
+               };
        };
 
        /* When a WIM file is written, out_refcnt starts at 0 and is incremented
@@ -113,8 +115,8 @@ extern void lookup_table_insert(struct lookup_table *table,
 extern void lookup_table_unlink(struct lookup_table *table, 
                                struct lookup_table_entry *lte);
 
-extern bool lookup_table_decrement_refcnt(struct lookup_table* table, 
-                                         const u8 hash[]);
+extern struct lookup_table_entry *
+lookup_table_decrement_refcnt(struct lookup_table* table, const u8 hash[]);
 
 
 extern struct lookup_table_entry *new_lookup_table_entry();