Efficient, secure hash table.
More...
#include "hashtable.h"
#include "csiphash.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
◆ hashtable_add()
void hashtable_add |
( |
struct hashtable *const |
hashtable, |
|
|
const void *const |
key, |
|
|
void *const |
elem |
|
) |
| |
◆ hashtable_del()
void hashtable_del |
( |
struct hashtable *const |
hashtable, |
|
|
const void *const |
key |
|
) |
| |
◆ hashtable_free()
void hashtable_free |
( |
struct hashtable *const |
hashtable | ) |
|
◆ hashtable_get()
void* hashtable_get |
( |
const struct hashtable *const |
hashtable, |
|
|
const void *const |
key |
|
) |
| |
◆ hashtable_new()
bool hashtable_new |
( |
struct hashtable *const |
hashtable, |
|
|
const size_t |
key_len, |
|
|
const size_t |
size |
|
) |
| |