diff options
Diffstat (limited to 'src/core/idhash.h')
| -rw-r--r-- | src/core/idhash.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/idhash.h b/src/core/idhash.h index b21a681b..c2cecf81 100644 --- a/src/core/idhash.h +++ b/src/core/idhash.h @@ -28,13 +28,14 @@ typedef struct nni_idhash_entry nni_idhash_entry; extern int nni_idhash_init(nni_idhash **); extern void nni_idhash_fini(nni_idhash *); -extern void nni_idhash_set_limits(nni_idhash *, uint32_t, uint32_t, uint32_t); +extern void nni_idhash_set_limits(nni_idhash *, uint64_t, uint64_t, uint64_t); extern int nni_idhash_create(nni_idhash **); extern void nni_idhash_destroy(nni_idhash *); -extern int nni_idhash_find(nni_idhash *, uint32_t, void **); -extern int nni_idhash_remove(nni_idhash *, uint32_t); -extern int nni_idhash_insert(nni_idhash *, uint32_t, void *); -extern int nni_idhash_alloc(nni_idhash *, uint32_t *, void *); +extern int nni_idhash_find(nni_idhash *, uint64_t, void **); +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 *); + extern size_t nni_idhash_count(nni_idhash *); #endif // CORE_IDHASH_H |
