aboutsummaryrefslogtreecommitdiff
path: root/src/core/idhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/idhash.h')
-rw-r--r--src/core/idhash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/idhash.h b/src/core/idhash.h
index 36797a76..5b9ed593 100644
--- a/src/core/idhash.h
+++ b/src/core/idhash.h
@@ -34,6 +34,9 @@ extern int nni_idhash_remove(nni_idhash *, uint64_t);
extern int nni_idhash_insert(nni_idhash *, uint64_t, void *);
extern int nni_idhash_alloc(nni_idhash *, uint64_t *, void *);
+// 32-bit version of idhash -- limits must have been set accordingly.
+extern int nni_idhash_alloc32(nni_idhash *, uint32_t *, void *);
+
extern size_t nni_idhash_count(nni_idhash *);
#endif // CORE_IDHASH_H