dmg: exchanging hardcoded dmg UDIF block types to enum.
authorJulio Faracco <jcfaracco@gmail.com>
Mon, 5 Nov 2018 15:08:06 +0000 (13:08 -0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 14 Dec 2018 10:52:40 +0000 (11:52 +0100)
commit95a156f689269da57e42dd1b001ea86c0877ed86
treeb4ceadb7931204857fbedd3176aafda41f70bea1
parent7a40b418ec95e80a7d164acb5104a9fa50ecc901
dmg: exchanging hardcoded dmg UDIF block types to enum.

This change is better to understand what kind of block type is being
handled by the code. Using a syntax similar to the DMG documentation is
easier than tracking all hex values assigned to a block type.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/dmg.c