| // 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. |
| |
| #ifndef SRC_DEVELOPER_EXCEPTION_BROKER_LIMBO_CLIENT_OPTIONS_H_ |
| #define SRC_DEVELOPER_EXCEPTION_BROKER_LIMBO_CLIENT_OPTIONS_H_ |
| |
| #include <zircon/status.h> |
| |
| #include <string> |
| |
| namespace fuchsia { |
| namespace exception { |
| |
| class LimboClient; |
| |
| // Returns |nullptr| on error. |
| using OptionFunction = zx_status_t (*)(LimboClient*, const std::vector<const char*>& argv, |
| std::ostream&); |
| OptionFunction ParseArgs(int argc, const char* argv[], std::ostream&); |
| |
| } // namespace exception |
| } // namespace fuchsia |
| |
| #endif // SRC_DEVELOPER_EXCEPTION_BROKER_LIMBO_CLIENT_OPTIONS_H_ |