blob: e28ad65ed92ec6c662e1f8bb46cf64fa6c673805 [file] [log] [blame]
// Copyright 2025 The Fuchsia Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_STARNIX_TESTS_SYSCALLS_CPP_BINDER_CLIENT_H_
#define SRC_STARNIX_TESTS_SYSCALLS_CPP_BINDER_CLIENT_H_
#include <lib/fit/defer.h>
#include <lib/fit/function.h>
#include "src/starnix/tests/syscalls/cpp/test_helper.h"
namespace starnix_binder {
fit::deferred_action<fit::closure> ClientProcess(
std::string_view binder_dir,
fit::function<void(test_helper::ForkHelper&, fit::closure)> spawn_client,
test_helper::Poker completed);
} // namespace starnix_binder
#endif // SRC_STARNIX_TESTS_SYSCALLS_CPP_BINDER_CLIENT_H_