Home
last modified time | relevance | path

Searched refs:del_fn (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libtecla/common/
H A Dhash.c88 HASH_DEL_FN(*del_fn); /* Application-provided 'app_data' destructor */
93 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn));
212 void *app_data, HASH_DEL_FN(*del_fn)) in _new_HashTable() argument
254 hash->del_fn = del_fn; in _new_HashTable()
299 if(hash->del_fn) in _del_HashTable()
300 hash->del_fn(hash->app_data); in _del_HashTable()
339 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn)) in _new_HashSymbol() argument
363 if(node->symbol.data && node->symbol.del_fn) { in _new_HashSymbol()
364 node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code, in _new_HashSymbol()
371 node = _new_HashNode(hash, name, code, fn, data, del_fn); in _new_HashSymbol()
[all …]
H A Dhash.h89 SYM_DEL_FN(*del_fn); /* Data destructor function */
127 void *app_data, HASH_DEL_FN(*del_fn));
136 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn));