| # 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. |
| # |
| # WARNING: This file is machine generated by fidlgen. |
| |
| include <example/c/fidl.h> |
| example_ExampleEnum = example_ExampleEnum_MEMBER |
| example_ExampleBits = example_ExampleBits_MEMBER |
| example_ExampleStructInLine { |
| member int32 |
| } [packed] |
| example_ExampleStructOutOfLine { |
| void void |
| } [packed] |
| example_ExampleStructHandles { |
| void void |
| } [packed] |
| example_ExampleUnionInLine [ |
| variant fidl_union_member[example_ExampleUnionTag_variant, int32] |
| ] |
| example_ExampleUnionOutOfLine [ |
| void void |
| ][varlen] |
| example_ExampleUnionHandles [ |
| void void |
| ][varlen] |
| example_ExampleXUnionInLine [ |
| variant fidl_union_member[example_ExampleXUnionTag_variant, int32] |
| ] |
| example_ExampleXUnionOutOfLine [ |
| void void |
| ][varlen] |
| example_ExampleXUnionHandles [ |
| void void |
| ][varlen] |
| |
| |
| example_ExampleProtocolMethodRequest { |
| hdr fidl_message_header[4827131039807700992] |
| argInLine exampleusing_EmptyInLine |
| argOutOfLine exampleusing_EmptyOutOfLine |
| } [packed] |
| example_ExampleProtocolMethodRequestHandles { |
| arg exampleusing_EmptyHandles |
| } [packed] |
| |
| resource zx_chan_example_ExampleProtocol_client[zx_chan] |
| resource zx_chan_example_ExampleProtocol_server[zx_chan] |
| |
| zx_channel_create$example_ExampleProtocol(options const[0], out0 ptr[out, zx_chan_example_ExampleProtocol_client], out1 ptr[out, zx_chan_example_ExampleProtocol_server]) |
| fdio_service_connect$example_ExampleProtocol(path ptr[in, string["/svc/"]], handle zx_chan_example_ExampleProtocol_server) |
| zx_channel_write$example_ExampleProtocolMethod(handle zx_chan_example_ExampleProtocol_client, options const[0], bytes ptr[in, example_ExampleProtocolMethodRequest], num_bytes bytesize[bytes], handles ptr[in, example_ExampleProtocolMethodRequestHandles], num_handles bytesize[handles]) |
| |