|
| SprStrHashTbl * | spr_str_hash_tbl_free (SprStrHashTbl *hash_tbl, const int content_flags, SprMsgId *routine) |
| |
| SprStrHashTbl * | spr_str_hash_tbl_alloc (SprStrHashTbl *hash_tbl_in, unsigned int size, unsigned int prefix_len, unsigned int(*hash_func)(const char *), int(*cmp_func)(const char *, const char *)) |
| |
| int | spr_str_hash_tbl_add_str (SprStrHashTbl *const hash_tbl, const char *const str) |
| |
| int | spr_str_hash_tbl_find_str (const SprStrHashTbl *hash_tbl, const char *str) |
| |
| SprStrHashEl * | spr_str_hash_tbl_find_el (const SprStrHashTbl *hash_tbl, const SprStrHashEl *el) |
| |
| char * | spr_str_hash_tbl_find_str_el (const SprStrHashTbl *hash_tbl, const char *str) |
| |
| int | spr_str_hash_tbl_rm_el (SprStrHashTbl *hash_tbl, const char *str, int free_flag) |
| |
| const char * | spr_str_hash_tbl_iterate (const SprStrHashTbl *hash_tbl, int *iterator) |
| |
| SprStrHashTbl * | spr_str_hash_tbl_read (SprStrHashTbl *hash_tbl, const char *fname, const char *up_till) |
| |
| void | spr_str_hash_tbl_sort (SprStrHashTbl *hash_tbl, int check_rm) |
| |
Hash string and other entries in a table.
- Date
- April 1996
- Author
- Kris Demuynck
- Revision History:
- 21/03/97 - KD
- extract the appropriate routines from word2nr
- 17/06/99 - KD
- added the 'prefix_len' argument in alloc_str_hash_tbl()
- 03/05/05 - KD
- added the rm_str_hash_el() and iterate_str_hash_tbl() functions