aboutsummaryrefslogtreecommitdiff
path: root/dict.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-19 16:57:57 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 16:57:57 +0200
commit77fbb8ff4ba461c11af3678a0db7cf6a47738ff4 (patch)
treefd290ac8e079a45cc8beab0d80149a35e6208b0e /dict.h
parentd2fc09dccfc18680209a918dc8cbcc1f75e41118 (diff)
downloadltrace-77fbb8ff4ba461c11af3678a0db7cf6a47738ff4.tar.gz
Implement dict_remove
Diffstat (limited to 'dict.h')
-rw-r--r--dict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dict.h b/dict.h
index b2a3ffe..f41011a 100644
--- a/dict.h
+++ b/dict.h
@@ -8,6 +8,7 @@ extern Dict *dict_init(unsigned int (*key2hash) (const void *),
int (*key_cmp) (const void *, const void *));
extern void dict_clear(Dict *d);
extern int dict_enter(Dict *d, void *key, void *value);
+extern void *dict_remove(Dict *d, void *key);
extern void *dict_find_entry(Dict *d, const void *key);
extern void dict_apply_to_all(Dict *d,
void (*func) (void *key, void *value, void *data),