The open source OpenXR runtime
1// Copyright 2020-2023, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Interface for IPC client instance code.
6 * @author Pete Black <pblack@collabora.com>
7 * @author Jakob Bornecrantz <jakob@collabora.com>
8 * @ingroup ipc_client
9 */
10
11#include "xrt/xrt_results.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18struct xrt_instance;
19struct xrt_instance_info;
20
21/*!
22 * Create a IPC client instance, connects to a IPC server.
23 *
24 * @see ipc_design
25 * @ingroup ipc_client
26 */
27xrt_result_t
28ipc_instance_create(const struct xrt_instance_info *i_info, struct xrt_instance **out_xinst);
29
30
31#ifdef __cplusplus
32}
33#endif