Alex Deymo | 161c4a1 | 2014-05-16 15:56:21 -0700 | [diff] [blame] | 1 | // Copyright 2014 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 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 5 | #ifndef UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_ |
| 6 | #define UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_ |
Alex Deymo | 161c4a1 | 2014-05-16 15:56:21 -0700 | [diff] [blame] | 7 | |
Ben Chan | 05735a1 | 2014-09-03 07:48:22 -0700 | [diff] [blame] | 8 | #include <stdint.h> |
| 9 | |
| 10 | #include <limits> |
Alex Deymo | 161c4a1 | 2014-05-16 15:56:21 -0700 | [diff] [blame] | 11 | |
| 12 | namespace chromeos_update_engine { |
| 13 | |
| 14 | extern const char kBspatchPath[]; |
| 15 | extern const char kDeltaMagic[]; |
| 16 | |
| 17 | // A block number denoting a hole on a sparse file. Used on Extents to refer to |
| 18 | // section of blocks not present on disk on a sparse file. |
Ben Chan | 05735a1 | 2014-09-03 07:48:22 -0700 | [diff] [blame] | 19 | const uint64_t kSparseHole = std::numeric_limits<uint64_t>::max(); |
Alex Deymo | 161c4a1 | 2014-05-16 15:56:21 -0700 | [diff] [blame] | 20 | |
Ben Chan | 05735a1 | 2014-09-03 07:48:22 -0700 | [diff] [blame] | 21 | } // namespace chromeos_update_engine |
Alex Deymo | 161c4a1 | 2014-05-16 15:56:21 -0700 | [diff] [blame] | 22 | |
Gilad Arnold | cf175a0 | 2014-07-10 16:48:47 -0700 | [diff] [blame] | 23 | #endif // UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_ |