blob: cc23572868506bbdf0e759638ce57ec4b434a74f [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.
library fuchsia.hardware.usb.virtual.bus;
using zx;
@for_deprecated_c_bindings
protocol Bus {
/// Enables the virtual bus.
Enable() -> (struct {
status zx.status;
});
/// Disables the virtual bus.
Disable() -> (struct {
status zx.status;
});
/// Simulates a USB connected event.
Connect() -> (struct {
status zx.status;
});
/// Simulates a USB connected event.
Disconnect() -> (struct {
status zx.status;
});
};