blob: 38d7fbe12fc580722d6b527c8e23903304df84fe [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.
#include <fbl/unique_fd.h>
#include <zircon/types.h>
// Opens a connection to the xdc host or device, and registers the stream id.
// If successful, returns ZX_OK and stores the xdc file descriptor in out_fd.
zx_status_t configure_xdc(const uint32_t stream_id, fbl::unique_fd& out_fd);