blob: f8a6a5c07177e502026cb8dc77207f69f71ffadf [file]
// 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.
deprecated_syntax;
library fidl.test.coding.fuchsia;
using zx;
enum TestEnum : uint32 {
ONE = 1;
};
protocol Llcpp {
Action() -> (int32 v);
EnumAction() -> (TestEnum v);
};
protocol Example {
TwoWay(string in) -> (string out);
OneWay(string in);
-> OnEvent(string out);
-> OnResourceEvent(zx.handle h);
};
protocol Simple {
/// Replies with the value requested.
Echo(int32 request) -> (int32 reply);
/// Never actually replies. Just closes instead.
Close() -> (int32 v);
};