blob: a4b87a8d0e0839439c44726d876d835c2c40b860 [file] [log] [blame]
// Copyright 2023 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.inspect;
@available(added=16)
const MAX_NAME_LENGTH uint64 = 4096;
@available(added=16)
@discoverable
closed protocol InspectSink {
/// Publishes a handle to the `fuchsia.inspect.Tree` protocol that the server can use to read
/// Inspect data, including lazy nodes.
strict Publish(resource table {
1: tree client_end:Tree;
2: name string:MAX_NAME_LENGTH;
});
};