|
IDZEBRA 2.2.8
|
Go to the source code of this file.
Functions | |
| static char * | dict_look (Dict dict, const Dict_char *str, Dict_ptr ptr) |
| char * | dict_lookup (Dict dict, const char *p) |
| lookup item in dictionary | |
Definition at line 32 of file lookup.c.
References Dict_struct::dbf, dict, dict_bf_readp(), DICT_bsize, DICT_EOS, DICT_nodir, dict_strcmp(), and dict_strlen().
Referenced by dict_lookup().
| char * dict_lookup | ( | Dict | dict, |
| const char * | p | ||
| ) |
lookup item in dictionary
| dict | dictionary handle |
| p | string-z with lookup string |
| NULL | not found |
| value | where value[0]=userlen, value[1..userlen] is userinfo data |
Definition at line 100 of file lookup.c.
References dict, dict_look(), Dict_struct::head, Dict_struct::no_lookup, and Dict_head::root.
Referenced by dict_lookup_ord(), dirs_fopen(), freq_term(), heap_inpb(), heap_inpc(), heap_inps(), index_block_flush(), main(), search_group(), search_position(), zebra_recid_to_sysno(), and zebra_record_check().