summaryrefslogtreecommitdiff
path: root/extra/usb_updater/verify_ro.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usb_updater/verify_ro.h')
-rw-r--r--extra/usb_updater/verify_ro.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/extra/usb_updater/verify_ro.h b/extra/usb_updater/verify_ro.h
index c37ba3a337..de2443b8b4 100644
--- a/extra/usb_updater/verify_ro.h
+++ b/extra/usb_updater/verify_ro.h
@@ -7,9 +7,18 @@
#ifndef __EXTRA_USB_UPDATER_VERIFY_RO_H
#define __EXTRA_USB_UPDATER_VERIFY_RO_H
+#include <stdbool.h>
+
#include "gsctool.h"
+/*
+ * Runs RO verification on the target specified in td using the description file
+ * desc_file_name. If show_machine_output is set, target's board ID will be
+ * outputted in a machine-friendly format. Returns 0 on success or a negative
+ * value if there is an error.
+ */
int verify_ro(struct transfer_descriptor *td,
- const char *desc_file_name);
+ const char *desc_file_name,
+ bool show_machine_output);
#endif // __EXTRA_USB_UPDATER_VERIFY_RO_H