| // Copyright 2018 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 fidl.test.frobinator; |
| |
| using zx; |
| |
| protocol EmptyProtocol { |
| }; |
| |
| protocol Frobinator { |
| Frob(string value); |
| Grob(string value) -> (string value); |
| -> Hrob(string value); |
| Fail(bool fail) -> () error uint32; |
| FailHard(bool fail) -> (string froyo) error uint32; |
| FailHardest(bool fail) -> (string fro, string yo) error uint32; |
| // 0x0000d003 is ZX_DEFAULT_EVENT_RIGHTS. |
| // TODO(fxbug.dev/41920) Use constants define in zx. |
| SendEventHandle(zx.handle:<EVENT, 0x0000d003> event); |
| SendProtocol(EmptyProtocol ep); |
| }; |