blob: 3f7b297fde58dff1582b30a053b23aad6570a2b6 [file] [log] [blame]
Alex Deymoa26432a2015-03-12 16:08:04 -07001// 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
10namespace chromeos_update_engine {
11
12bool GetVerityRootfsSize(const std::string& kernel_dev, uint64_t* rootfs_size);
13
14bool 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_