blob: e95684c1ec57f170b9aa634b99213c180ab6aa1c [file] [log] [blame]
// Copyright 2019 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_LIB_FIDL_CODEC_DISPLAY_HANDLE_H_
#define SRC_LIB_FIDL_CODEC_DISPLAY_HANDLE_H_
#include <zircon/system/public/zircon/syscalls/debug.h>
#include <zircon/system/public/zircon/types.h>
#include <ostream>
#include "src/lib/fidl_codec/printer.h"
namespace fidl_codec {
void DisplayHandle(const zx_handle_info_t& handle, PrettyPrinter& printer);
void ObjTypeName(zx_obj_type_t obj_type, PrettyPrinter& printer);
void RightsName(zx_rights_t rights, PrettyPrinter& printer);
} // namespace fidl_codec
#endif // SRC_LIB_FIDL_CODEC_DISPLAY_HANDLE_H_