|
static UINT8 | hashtbl_no_param_hash (void *param, const void *x) |
|
static int | hashtbl_no_param_cmp (void *param, const void *x, const void *y) |
|
static int | hashtbl_resize (LALHashTbl *ht) |
|
LALHashTbl * | XLALHashTblCreate (LALHashTblDtorFcn dtor, LALHashTblHashFcn hash, LALHashTblCmpFcn cmp) |
| Create a hash table. More...
|
|
LALHashTbl * | XLALHashTblCreate2 (LALHashTblDtorFcn dtor, LALHashTblHashParamFcn hash, void *hash_param, LALHashTblCmpParamFcn cmp, void *cmp_param) |
| Create a hash table with parameterised hash and comparison functions. More...
|
|
void | XLALHashTblDestroy (LALHashTbl *ht) |
| Destroy a hash table and its elements. More...
|
|
int | XLALHashTblClear (LALHashTbl *ht) |
| Clear a hash table. More...
|
|
int | XLALHashTblSize (const LALHashTbl *ht) |
| Return the size of a hash table. More...
|
|
int | XLALHashTblFind (const LALHashTbl *ht, const void *x, const void **y) |
| Find the element matching x in a hash table; if found, return in *y More...
|
|
int | XLALHashTblAdd (LALHashTbl *ht, void *x) |
| Add an element to a hash table. More...
|
|
int | XLALHashTblExtract (LALHashTbl *ht, const void *x, void **y) |
| Find the element matching x in a hash table; if found, remove it and return in *y More...
|
|
int | XLALHashTblRemove (LALHashTbl *ht, const void *x) |
| Find the element matching x in a hash table; if found, remove and destroy it. More...
|
|