blob: 380f0815b3973071c9c06830094ccde7dd1016e4 [file] [log] [blame]
// Copyright 2019 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.sys.internal;
/// Identifies a component uniquely within the observing realm.
/// Example: hub/r/sys/4566/c/http.cmx/19226
/// realm_path: [root, sys]
/// component_url: "fuchsia-pkg://fuchsia.com/http#meta/http.cmx"
/// component_name: "http.cmx"
/// instance_id: 19226
type SourceIdentity = table {
/// The path to the component from the observing realm.
1: realm_path realm_segments;
/// The URL from which the component was loaded.
2: component_url component_url;
/// The name of the component.
3: component_name string:COMPONENT_NAME_MAX_LENGTH;
/// The ID of the component.
4: instance_id string:LABEL_MAX_LENGTH;
};