blob: 52fbd61b9cd1b60c8e5d350fb054dca4bea04eb7 [file] [log] [blame]
// Copyright 2018 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 LIB_FOSTR_ZX_TYPES_H_
#define LIB_FOSTR_ZX_TYPES_H_
#include <ostream>
#include <lib/zx/channel.h>
#include <lib/zx/eventpair.h>
#include <lib/zx/fifo.h>
#include <lib/zx/object.h>
#include <lib/zx/process.h>
#include <lib/zx/resource.h>
#include <lib/zx/socket.h>
#include <lib/zx/thread.h>
#include <lib/zx/time.h>
#include <lib/zx/vmo.h>
namespace zx {
std::ostream& operator<<(std::ostream& os, const zx::object_base& value);
std::ostream& operator<<(std::ostream& os, const zx::channel& value);
std::ostream& operator<<(std::ostream& os, const zx::eventpair& value);
std::ostream& operator<<(std::ostream& os, const zx::fifo& value);
std::ostream& operator<<(std::ostream& os, const zx::process& value);
std::ostream& operator<<(std::ostream& os, const zx::socket& value);
std::ostream& operator<<(std::ostream& os, const zx::thread& value);
std::ostream& operator<<(std::ostream& os, const zx::duration& value);
std::ostream& operator<<(std::ostream& os, const zx::vmo& value);
} // namespace zx
#endif // LIB_FOSTR_ZX_TYPES_H_