Monado OpenXR Runtime
target_lists.h
Go to the documentation of this file.
1// Copyright 2019-2022, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Common things to pull into a target.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 */
8
9#pragma once
10
11#include "xrt/xrt_prober.h"
12
14extern struct xrt_prober_entry *target_entry_lists[];
15extern xrt_auto_prober_create_func_t target_auto_list[];
17extern struct xrt_prober_entry_lists target_lists;
struct xrt_auto_prober *(* xrt_auto_prober_create_func_t)(void)
Function pointer type for creating a auto prober.
Definition: xrt_prober.h:749
struct xrt_builder *(* xrt_builder_create_func_t)(void)
Function pointer type for creating a xrt_builder.
Definition: xrt_prober.h:552
Main root of all of the probing device.
Definition: xrt_prober.h:809
Entry for a single device.
Definition: xrt_prober.h:706
xrt_builder_create_func_t target_builder_list[]
Builders.
Definition: target_lists.c:106
struct xrt_prober_entry target_entry_list[]
Each entry should be a vendor ID (VID), product ID (PID), a "found" function, and a string literal na...
Definition: target_lists.c:176
Common interface to probe for devices.