Monado OpenXR Runtime
|
Hashset struct header. More...
#include "xrt/xrt_compiler.h"
Go to the source code of this file.
Data Structures | |
struct | u_hashset_item |
A embeddable hashset item, note that the string directly follows the u_hashset_item. More... | |
Typedefs | |
typedef void(* | u_hashset_callback) (struct u_hashset_item *item, void *priv) |
Functions | |
int | u_hashset_create (struct u_hashset **out_hashset) |
int | u_hashset_destroy (struct u_hashset **hs) |
int | u_hashset_find_str (struct u_hashset *hs, const char *str, size_t length, struct u_hashset_item **out_item) |
int | u_hashset_find_c_str (struct u_hashset *hs, const char *c_str, struct u_hashset_item **out_item) |
int | u_hashset_insert_item (struct u_hashset *hs, struct u_hashset_item *item) |
int | u_hashset_erase_item (struct u_hashset *hs, struct u_hashset_item *item) |
int | u_hashset_erase_str (struct u_hashset *hs, const char *str, size_t length) |
int | u_hashset_erase_c_str (struct u_hashset *hs, const char *c_str) |
void | u_hashset_clear_and_call_for_each (struct u_hashset *hs, u_hashset_callback cb, void *priv) |
First clear the hashset and then call the given callback with each item that was in the hashset. More... | |
Hashset struct header.