diff options
Diffstat (limited to 'libctf/ctf-hash.c')
-rw-r--r-- | libctf/ctf-hash.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libctf/ctf-hash.c b/libctf/ctf-hash.c index 62f3dde..426bd62 100644 --- a/libctf/ctf-hash.c +++ b/libctf/ctf-hash.c @@ -672,6 +672,12 @@ ctf_dynset_lookup (ctf_dynset_t *hp, const void *key) return NULL; } +size_t +ctf_dynset_elements (ctf_dynset_t *hp) +{ + return htab_elements ((struct htab *) hp); +} + /* TRUE/FALSE return. */ int ctf_dynset_exists (ctf_dynset_t *hp, const void *key, const void **orig_key) |