From ab4ca06537f10b768b2e81a178273e9509de0b07 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 1 May 2013 08:49:54 +0800 Subject: lib: Add boot_status type & protocol definitions Add an initial definition for boot status messages sent to clients Signed-off-by: Jeremy Kerr --- lib/types/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/types') diff --git a/lib/types/types.h b/lib/types/types.h index fb53826..90b23c3 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -37,4 +37,14 @@ struct boot_command { char *boot_args; }; +struct boot_status { + enum { + BOOT_STATUS_INFO, + BOOT_STATUS_ERROR, + } type; + char *message; + char *detail; + int progress; +}; + #endif /* _TYPES_H */ -- cgit v1.2.1