blob: ad32c2078c81a39073743a1da25fc07b7fd472ee [file] [log] [blame]
/*
* Copyright 2016 The Chromium OS 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 HAL_ADAPTER_IPC_UTIL_H_
#define HAL_ADAPTER_IPC_UTIL_H_
#include <string>
namespace base {
class FilePath;
} // namespace base
namespace internal {
bool CreateServerUnixDomainSocket(const base::FilePath& socket_path,
int* server_listen_fd);
bool ServerAcceptConnection(int server_listen_fd, int* server_socket);
} // namespace internal
#endif // HAL_ADAPTER_IPC_UTIL_H_