blob: 5d286225cf6eea145e0320b31ebdcf65df939f8b [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 CAMERA_HAL_USB_V1_IPC_UTIL_H_
#define CAMERA_HAL_USB_V1_IPC_UTIL_H_
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 // CAMERA_HAL_USB_V1_IPC_UTIL_H_