1 /* 2 * Copyright 2018 The ChromiumOS Authors 3 * Use of this source code is governed by a BSD-style license that can be 4 * found in the LICENSE file. 5 */ 6 7 #ifndef __EXTRA_USB_UPDATER_VERIFY_RO_H 8 #define __EXTRA_USB_UPDATER_VERIFY_RO_H 9 10 #include <stdbool.h> 11 12 #include "gsctool.h" 13 14 /* 15 * Runs RO verification on the target specified in td using the description file 16 * desc_file_name. If show_machine_output is set, target's board ID will be 17 * outputted in a machine-friendly format. Returns 0 on success or a negative 18 * value if there is an error. 19 */ 20 int verify_ro(struct transfer_descriptor *td, const char *desc_file_name, 21 bool show_machine_output); 22 23 #endif // __EXTRA_USB_UPDATER_VERIFY_RO_H 24