blob: 412396188293284c5488d096214fa4089ca1aa30 [file] [log] [blame]
// 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 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
#endif // SRC_DEVELOPER_EXCEPTION_BROKER_LIMBO_CLIENT_OPTIONS_H_