Remove typedef decl errors
[hiphop-php.git] / hphp / util / cache / magic-numbers.h
blobdcc2d981bd96e68dfca0ca0d0fef36a26e832c7a
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
17 // Magic numbers associated with this cache.
19 #ifndef incl_HPHP_MAGIC_NUMBERS_H_
20 #define incl_HPHP_MAGIC_NUMBERS_H_
22 namespace HPHP {
24 const uint64_t kCacheFileMagic = 0x55aa0cb0cefa4b52;
25 const uint64_t kDirectoryTerminatorMagic = 0x5228bb574d524554;
27 // This one should only be on disk during the write process.
28 // See cache-saver.h for a discussion of the "surgical updates".
29 const uint64_t kDataOfsPlaceholder = 0x000044448888aaaa;
31 } // namespace HPHP
33 #endif // incl_HPHP_MAGIC_NUMBERS_H_