blob: 30dde5eab89cb55806ff8ade85dbfba891780b54 [file] [log] [blame]
Alex Deymo161c4a12014-05-16 15:56:21 -07001// 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 Arnoldcf175a02014-07-10 16:48:47 -07005#ifndef UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_
6#define UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_
Alex Deymo161c4a12014-05-16 15:56:21 -07007
Ben Chan05735a12014-09-03 07:48:22 -07008#include <stdint.h>
9
10#include <limits>
Alex Deymo161c4a12014-05-16 15:56:21 -070011
12namespace chromeos_update_engine {
13
14extern const char kBspatchPath[];
15extern 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 Chan05735a12014-09-03 07:48:22 -070019const uint64_t kSparseHole = std::numeric_limits<uint64_t>::max();
Alex Deymo161c4a12014-05-16 15:56:21 -070020
Ben Chan05735a12014-09-03 07:48:22 -070021} // namespace chromeos_update_engine
Alex Deymo161c4a12014-05-16 15:56:21 -070022
Gilad Arnoldcf175a02014-07-10 16:48:47 -070023#endif // UPDATE_ENGINE_PAYLOAD_CONSTANTS_H_