blob: 04945a5f8383161274cfb1fc2d9c2337f5d84c53 [file] [log] [blame]
// Copyright 2020 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.component;
using fuchsia.io;
@available(replaced=19)
const MAX_NAME_LENGTH uint32 = 100;
@available(added=19)
const MAX_NAME_LENGTH uint64 = fuchsia.io.MAX_NAME_LENGTH;
const MAX_CHILD_NAME_LENGTH uint32 = 1024;
@available(replaced=15)
const MAX_PATH_LENGTH uint32 = 1024;
@available(added=15)
const MAX_PATH_LENGTH uint64 = fuchsia.io.MAX_PATH_LENGTH;
const MAX_MONIKER_LENGTH uint32 = 4096;
@available(replaced=19)
const MAX_URL_SCHEME_LENGTH uint32 = 100;
@available(added=19)
const MAX_URL_SCHEME_LENGTH uint64 = MAX_NAME_LENGTH;
/// The maximum number of requests per event subscription.
const MAX_SUBSCRIPTION_REQUESTS uint32 = 2;
/// The maximum number of events that a receiver can listen to.
const MAX_NUM_EVENTS_RECEIVED uint64 = 100;