blob: ad293193878c8805498b20bc01186e2694644b8d [file] [log] [blame]
// Copyright 2020 The Fuchsia 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 SRC_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_
#define SRC_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_
#include <fuchsia/device/llcpp/fidl.h>
#include <lib/zx/channel.h>
#include <lib/zx/status.h>
#include <string>
#include <string_view>
namespace storage {
zx::status<std::string> GetTopologicalPath(
fidl::UnownedClientEnd<llcpp::fuchsia::device::Controller> channel);
zx::status<std::string> GetTopologicalPath(const std::string& path);
} // namespace storage
#endif // SRC_STORAGE_LIB_UTILS_TOPOLOGICAL_PATH_H_