blob: 76462a7fbb1906f5bd41710187f401a751c404be [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(uint32_t stream_id, fbl::unique_fd* out_fd);