ROHC compression/decompression library
Functions
hashtable_cr.c File Reference

Efficient, secure hash table. More...

#include "hashtable_cr.h"
#include "csiphash.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Include dependency graph for hashtable_cr.c:

Functions

bool hashtable_cr_new (struct hashtable *const hashtable, const size_t key_len, const size_t full_key_len, const size_t size)
 
void hashtable_cr_free (struct hashtable *const hashtable)
 
void hashtable_cr_add (struct hashtable *const hashtable, const void *const key, void *const elem)
 
void * hashtable_cr_get_first (const struct hashtable *const hashtable, const void *const key)
 
void * hashtable_cr_get_next (const struct hashtable *const hashtable, const void *const key, void *const pos)
 
void hashtable_cr_del (struct hashtable *const hashtable, const void *const key)
 

Detailed Description

Efficient, secure hash table.

Author
Didier Barvaux didie.nosp@m.r.ba.nosp@m.rvaux.nosp@m.@tou.nosp@m.louse.nosp@m..viv.nosp@m.eris..nosp@m.com

Function Documentation

◆ hashtable_cr_add()

void hashtable_cr_add ( struct hashtable *const  hashtable,
const void *const  key,
void *const  elem 
)

◆ hashtable_cr_del()

void hashtable_cr_del ( struct hashtable *const  hashtable,
const void *const  key 
)

◆ hashtable_cr_free()

void hashtable_cr_free ( struct hashtable *const  hashtable)

◆ hashtable_cr_get_first()

void* hashtable_cr_get_first ( const struct hashtable *const  hashtable,
const void *const  key 
)

◆ hashtable_cr_get_next()

void* hashtable_cr_get_next ( const struct hashtable *const  hashtable,
const void *const  key,
void *const  pos 
)

◆ hashtable_cr_new()

bool hashtable_cr_new ( struct hashtable *const  hashtable,
const size_t  key_len,
const size_t  full_key_len,
const size_t  size 
)