Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/hash.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/hash.h b/native_client_sdk/src/libraries/nacl_io/hash.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b2589c08f93258ac0cacfa125ea5177c8ca550be |
| --- /dev/null |
| +++ b/native_client_sdk/src/libraries/nacl_io/hash.h |
| @@ -0,0 +1,18 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef LIBRARIES_NACL_IO_HASH_H_ |
| +#define LIBRARIES_NACL_IO_HASH_H_ |
| + |
| +#include "nacl_io/osdirent.h" |
| +#include "nacl_io/path.h" |
| + |
| +namespace nacl_io { |
| + |
| +ino_t HashPathSegment(ino_t hash, const char* str, size_t len); |
|
binji
2016/09/20 01:22:05
this is a good change to move into another CL
chanpatorikku
2016/09/21 16:41:09
Acknowledged.
|
| +ino_t HashPath(const Path& path); |
| + |
| +} // namespace nacl_io |
| + |
| +#endif // LIBRARIES_NACL_IO_HASH_H_ |