blob: b2589c08f93258ac0cacfa125ea5177c8ca550be [file] [log] [blame]
// 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);
ino_t HashPath(const Path& path);
} // namespace nacl_io
#endif // LIBRARIES_NACL_IO_HASH_H_