Monado OpenXR Runtime
ipc_client_interface.h
Go to the documentation of this file.
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;
20
21/*!
22 * Create a IPC client instance, connects to a IPC server.
23 *
24 * @see ipc_design
25 * @ingroup ipc_client
26 */
28ipc_instance_create(const struct xrt_instance_info *i_info, struct xrt_instance **out_xinst);
29
30
31#ifdef __cplusplus
32}
33#endif
xrt_result_t ipc_instance_create(const struct xrt_instance_info *i_info, struct xrt_instance **out_xinst)
Create a IPC client instance, connects to a IPC server.
enum xrt_result xrt_result_t
Result type used across Monado.
Information provided by the application at instance create time.
Definition: xrt_instance.h:88
This interface acts as a root object for Monado.
Definition: xrt_instance.h:114
Internal result type for XRT.