blob: 3ef4190a74f32962346beee93ebe98845498abeb [file] [log] [blame]
// Copyright 2021 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.device.manager;
using zx;
/// Interface for restarting Driver Hosts through Driver Manager from the front end.
/// This interface should only be used for development and disabled in release builds.
[Discoverable]
protocol DriverHostDevelopment {
/// Restart all Driver Hosts containing the driver specified by `driver path`.
/// ZX_ERR_NOT_FOUND indicates that there is no driver matching the given path.
RestartDriverHosts(string:DEVICE_PATH_MAX driver_path) -> () error zx.status;
};