OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium 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 LIBRARIES_NACL_IO_HASH_H_ |
| 6 #define LIBRARIES_NACL_IO_HASH_H_ |
| 7 |
| 8 #include "nacl_io/osdirent.h" |
| 9 #include "nacl_io/path.h" |
| 10 |
| 11 namespace nacl_io { |
| 12 |
| 13 ino_t HashPathSegment(ino_t hash, const char* str, size_t len); |
| 14 ino_t HashPath(const Path& path); |
| 15 |
| 16 } // namespace nacl_io |
| 17 |
| 18 #endif // LIBRARIES_NACL_IO_HASH_H_ |
OLD | NEW |