webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
lhash.c File Reference
#include <openssl/lhash.h>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <openssl/mem.h>

Functions

_LHASHlh_new (lhash_hash_func hash, lhash_cmp_func comp)
 
void lh_free (_LHASH *lh)
 
size_t lh_num_items (const _LHASH *lh)
 
voidlh_retrieve (const _LHASH *lh, const void *data)
 
int lh_insert (_LHASH *lh, void **old_data, void *data)
 
voidlh_delete (_LHASH *lh, const void *data)
 
void lh_doall (_LHASH *lh, void(*func)(void *))
 
void lh_doall_arg (_LHASH *lh, void(*func)(void *, void *), void *arg)
 
uint32_t lh_strhash (const char *c)
 

Function Documentation

◆ lh_delete()

void* lh_delete ( _LHASH lh,
const void data 
)

◆ lh_doall()

void lh_doall ( _LHASH lh,
void(*)(void *)  func 
)

◆ lh_doall_arg()

void lh_doall_arg ( _LHASH lh,
void(*)(void *, void *)  func,
void arg 
)

◆ lh_free()

void lh_free ( _LHASH lh)

◆ lh_insert()

int lh_insert ( _LHASH lh,
void **  old_data,
void data 
)

◆ lh_new()

_LHASH* lh_new ( lhash_hash_func  hash,
lhash_cmp_func  comp 
)

◆ lh_num_items()

size_t lh_num_items ( const _LHASH lh)

◆ lh_retrieve()

void* lh_retrieve ( const _LHASH lh,
const void data 
)

◆ lh_strhash()

uint32_t lh_strhash ( const char *  c)