1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <fbl/unique_fd.h> 6 #include <zircon/types.h> 7 8 // Opens a connection to the xdc host or device, and registers the stream id. 9 // If successful, returns ZX_OK and stores the xdc file descriptor in out_fd. 10 zx_status_t configure_xdc(uint32_t stream_id, fbl::unique_fd* out_fd); 11