Make WIMStructs reference-counted
authorEric Biggers <ebiggers3@gmail.com>
Mon, 19 Oct 2015 00:39:34 +0000 (19:39 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 19 Oct 2015 01:59:18 +0000 (20:59 -0500)
commit3a0b45be3635a632f3acd97b170dead2de29e8a8
tree0808f74d532c40f36f317564954f2fe673dd799d
parent00d7680491529e7fd95f5721bd01795a730fc440
Make WIMStructs reference-counted

Simplify the library API by eliminating rules on when WIMStructs can be
freed after calls to wimlib_export_image() and
wimlib_reference_resources().  Also eliminate the internal 'subwims'
list.
include/wimlib.h
include/wimlib/wim.h
src/blob_table.c
src/extract.c
src/reference.c
src/wim.c