blob: d53c4b823bae3dfb26d872fb937eb38b49f5a0ba [file] [log] [blame]
// 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.
#ifndef GARNET_BIN_GUEST_CLI_SOCAT_H_
#define GARNET_BIN_GUEST_CLI_SOCAT_H_
#include <lib/async-loop/cpp/loop.h>
#include <zircon/types.h>
#include "lib/component/cpp/startup_context.h"
void handle_socat_connect(uint32_t env_id, uint32_t cid, uint32_t port,
async::Loop* loop,
component::StartupContext* context);
void handle_socat_listen(uint32_t env_id, uint32_t port, async::Loop* loop,
component::StartupContext* context);
#endif // GARNET_BIN_GUEST_CLI_SOCAT_H_