]> git.ozlabs.org Git - petitboot/commit
types: shorten boot_status definitions
authorJeremy Kerr <jk@ozlabs.org>
Wed, 7 Dec 2016 00:13:36 +0000 (11:13 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 04:04:07 +0000 (15:04 +1100)
commit4b06a4645e19830581505a675075773adc0857c2
tree94d77cc95f94432277e401763c65d3d7cbcc37d8
parentea8bd5f424a9b01c71e1694bb5b6ffc13e3da4f5
types: shorten boot_status definitions

struct boot_status is a bit misnamed; we report status on things that
aren't just the boot status (eg, discovery).

This change refactors struct boot_status into just struct status. We
give the type enum a name, and shorten the enum values to suit.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
15 files changed:
discover/boot.c
discover/boot.h
discover/device-handler.c
discover/device-handler.h
discover/discover-server.c
discover/discover-server.h
discover/pxe-parser.c
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h
lib/types/types.h
test/parser/handler.c
ui/common/discover-client.c
ui/common/discover-client.h
ui/ncurses/nc-cui.c
ui/test/discover-test.c