Alex Deymo | a26432a | 2015-03-12 16:08:04 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef UPDATE_ENGINE_PAYLOAD_GENERATOR_VERITY_UTILS_H_ |
| 6 | #define UPDATE_ENGINE_PAYLOAD_GENERATOR_VERITY_UTILS_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | namespace chromeos_update_engine { |
| 11 | |
| 12 | bool GetVerityRootfsSize(const std::string& kernel_dev, uint64_t* rootfs_size); |
| 13 | |
| 14 | bool ParseVerityRootfsSize(const std::string& kernel_cmdline, |
| 15 | uint64_t* rootfs_size); |
| 16 | |
| 17 | } // namespace chromeos_update_engine |
| 18 | |
| 19 | #endif // UPDATE_ENGINE_PAYLOAD_GENERATOR_VERITY_UTILS_H_ |