|
Monado OpenXR Runtime
|
Holds path related functions. More...
#include <stdio.h>#include <string.h>#include <stdlib.h>#include "math/m_api.h"#include "util/u_misc.h"#include "oxr_objects.h"#include "oxr_logger.h"
Data Structures | |
| struct | oxr_path |
| Internal representation of a path, item follows this struct in memory and that in turn is followed by the string. More... | |
Functions | |
| static XrPath | to_xr_path (struct oxr_path *path) |
| static struct u_hashset_item * | get_item (struct oxr_path *path) |
| static struct oxr_path * | from_item (struct u_hashset_item *item) |
| static XrResult | oxr_ensure_array_length (struct oxr_logger *log, struct oxr_instance *inst, XrPath *out_id) |
| static XrResult | oxr_allocate_path (struct oxr_logger *log, struct oxr_instance *inst, const char *str, size_t length, struct oxr_path **out_path) |
| struct oxr_path * | get_path_or_null (struct oxr_logger *log, const struct oxr_instance *inst, XrPath xr_path) |
| bool | oxr_path_is_valid (struct oxr_logger *log, struct oxr_instance *inst, XrPath xr_path) |
| void * | oxr_path_get_attached (struct oxr_logger *log, struct oxr_instance *inst, XrPath xr_path) |
| XrResult | oxr_path_get_or_create (struct oxr_logger *log, struct oxr_instance *inst, const char *str, size_t length, XrPath *out_path) |
| XrResult | oxr_path_only_get (struct oxr_logger *log, struct oxr_instance *inst, const char *str, size_t length, XrPath *out_path) |
| XrResult | oxr_path_get_string (struct oxr_logger *log, const struct oxr_instance *inst, XrPath xr_path, const char **out_str, size_t *out_length) |
| void | destroy_callback (struct u_hashset_item *item, void *priv) |
| XrResult | oxr_path_init (struct oxr_logger *log, struct oxr_instance *inst) |
| void | oxr_path_destroy (struct oxr_logger *log, struct oxr_instance *inst) |
Holds path related functions.