diff options
author | Vineela Tummalapalli <vineela.tummalapalli@intel.com> | 2016-10-29 04:44:40 +0200 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2016-11-10 02:24:57 +0100 |
commit | cba7fa88d8b982a65f0e27babd0d6ffe82634409 (patch) | |
tree | 3692b7f44323e8a6b65bf8e62e65dc8817b20da6 /bootloader_message/include | |
parent | Merge "Make make_parent() to take const argument" (diff) | |
download | android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar.gz android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar.bz2 android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar.lz android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar.xz android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.tar.zst android_bootable_recovery-cba7fa88d8b982a65f0e27babd0d6ffe82634409.zip |
Diffstat (limited to 'bootloader_message/include')
-rw-r--r-- | bootloader_message/include/bootloader_message/bootloader_message.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h index 07ecf8576..5a5dd8793 100644 --- a/bootloader_message/include/bootloader_message/bootloader_message.h +++ b/bootloader_message/include/bootloader_message/bootloader_message.h @@ -183,6 +183,9 @@ bool write_bootloader_message(const bootloader_message& boot, std::string* err); bool write_bootloader_message(const std::vector<std::string>& options, std::string* err); bool clear_bootloader_message(std::string* err); +// Writes the reboot-bootloader reboot reason to the bootloader_message. +bool write_reboot_bootloader(std::string* err); + bool read_wipe_package(std::string* package_data, size_t size, std::string* err); bool write_wipe_package(const std::string& package_data, std::string* err); @@ -192,6 +195,7 @@ bool write_wipe_package(const std::string& package_data, std::string* err); // C Interface. bool write_bootloader_message(const char* options); +bool write_reboot_bootloader(void); #endif // ifdef __cplusplus |