]> wimlib.net Git - wimlib/commit
mount_image.c: Implement versioned unmount messages
authorEric Biggers <ebiggers3@gmail.com>
Mon, 17 Dec 2012 05:26:39 +0000 (23:26 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 17 Dec 2012 05:26:39 +0000 (23:26 -0600)
commit8f16067f71da5f45eda84813e9a07e68641bc283
tree186e1246bda6b3ec048d80ac818c88c15157c1a6
parent36a737d734cdc6c6eb0ce9da3183a1f8fa4288e6
mount_image.c:  Implement versioned unmount messages

The ad-hoc format of the unmount messages has been expanded with a header that
specifies the message size and the minimum and current version of the library
sending the message.  This could potentially make things go smoother if the
messages are changed and unmounts are done with a different library version than
the mount is with.

Also, some code was refactored to reduce function length.
src/mount_image.c
src/util.c
src/wimlib.h
src/wimlib_internal.h