| // 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 test.processbuilder; |
| |
| type EnvVar = struct { |
| key string; |
| value string; |
| }; |
| |
| @discoverable |
| protocol Util { |
| GetArguments() -> (struct { |
| args vector<string>; |
| }); |
| GetArgumentCount() -> (struct { |
| count uint64; |
| }); |
| GetEnvironment() -> (struct { |
| vars vector<EnvVar>; |
| }); |
| GetEnvironmentCount() -> (struct { |
| count uint64; |
| }); |
| DumpNamespace() -> (struct { |
| contents string; |
| }); |
| ReadFile(struct { |
| path string; |
| }) -> (struct { |
| contents string; |
| }); |
| GetLifecycleKoid() -> (struct { |
| koid uint64; |
| }); |
| }; |