diff options
-rw-r--r-- | lib/pb-protocol/pb-protocol.h | 1 | ||||
-rw-r--r-- | lib/types/types.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/pb-protocol/pb-protocol.h b/lib/pb-protocol/pb-protocol.h index 35e96f0..4451700 100644 --- a/lib/pb-protocol/pb-protocol.h +++ b/lib/pb-protocol/pb-protocol.h @@ -17,6 +17,7 @@ enum pb_protocol_action { PB_PROTOCOL_ACTION_DEVICE_REMOVE = 0x3, /* PB_PROTOCOL_ACTION_BOOT_OPTION_REMOVE = 0x4, */ PB_PROTOCOL_ACTION_BOOT = 0x5, + PB_PROTOCOL_ACTION_STATUS = 0x6, }; struct pb_protocol_message { 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 */ |