aboutsummaryrefslogtreecommitdiffstats
path: root/cheesemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'cheesemap.h')
-rw-r--r--cheesemap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cheesemap.h b/cheesemap.h
index 17a1d42..9f8f45c 100644
--- a/cheesemap.h
+++ b/cheesemap.h
@@ -113,6 +113,12 @@ bool cm_raw_insert(struct cheesemap_raw* map, const struct cheesemap_fns* fns,
bool cm_raw_reserve(struct cheesemap_raw* map, const struct cheesemap_fns* fns,
uintptr_t key_size, uintptr_t value_size,
uintptr_t additional);
+bool cm_raw_lookup(struct cheesemap_raw* map, const struct cheesemap_fns* fns,
+ uintptr_t key_size, const uint8_t* key, uintptr_t value_size,
+ uint8_t** out_value);
+bool cm_raw_remove(struct cheesemap_raw* map, const struct cheesemap_fns* fns,
+ uintptr_t key_size, const uint8_t* key, uintptr_t value_size,
+ uint8_t* out_value);
void cm_raw_drop(struct cheesemap_raw* map, uintptr_t key_size,
uintptr_t value_size, const struct cheesemap_fns* fns);