aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/set.h')
-rw-r--r--src/util/set.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/set.h b/src/util/set.h
index 5742c311a77..783c3d41c46 100644
--- a/src/util/set.h
+++ b/src/util/set.h
@@ -76,6 +76,12 @@ struct set_entry *
_mesa_set_add_pre_hashed(struct set *set, uint32_t hash, const void *key);
struct set_entry *
+_mesa_set_search_or_add(struct set *set, const void *key);
+struct set_entry *
+_mesa_set_search_or_add_pre_hashed(struct set *set, uint32_t hash,
+ const void *key);
+
+struct set_entry *
_mesa_set_search(const struct set *set, const void *key);
struct set_entry *
_mesa_set_search_pre_hashed(const struct set *set, uint32_t hash,