summaryrefslogtreecommitdiffstats
path: root/bootloader_message/include
diff options
context:
space:
mode:
authorVineela Tummalapalli <vineela.tummalapalli@intel.com>2016-11-10 03:58:17 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-11-10 03:58:17 +0100
commit62aaba5a3f4cc78f4d7cde9a211da673707fc72e (patch)
tree1409c077838c46ddd93b789da76685f7f4f4f5f7 /bootloader_message/include
parentMerge "Touch blocks in care_map in update_verifier" am: 3605a072bc -s ours (diff)
parentMerge "Add 'reboot bootloader' to bootloader_message." (diff)
downloadandroid_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar.gz
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar.bz2
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar.lz
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar.xz
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.tar.zst
android_bootable_recovery-62aaba5a3f4cc78f4d7cde9a211da673707fc72e.zip
Diffstat (limited to 'bootloader_message/include')
-rw-r--r--bootloader_message/include/bootloader_message/bootloader_message.h4
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 f343c64ac..75d2acaf2 100644
--- a/bootloader_message/include/bootloader_message/bootloader_message.h
+++ b/bootloader_message/include/bootloader_message/bootloader_message.h
@@ -184,6 +184,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);
@@ -193,6 +196,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