From: Adam Dickmeiss Date: Fri, 27 Oct 1995 13:59:17 +0000 (+0000) Subject: Function dict_look_grep got extra parameter max_pos that upon return X-Git-Tag: ZEBRA.1.0~691 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=9a3fbd4b27ac261b0d68f73d8f9b3a762b2c33e9 Function dict_look_grep got extra parameter max_pos that upon return hold length of longest prefix that matches pattern. --- diff --git a/include/dict.h b/include/dict.h index 576d9a1..f5f9b7a 100644 --- a/include/dict.h +++ b/include/dict.h @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dict.h,v $ - * Revision 1.14 1995-10-09 16:18:35 adam + * Revision 1.15 1995-10-27 13:59:17 adam + * Function dict_look_grep got extra parameter max_pos that upon return + * hold length of longest prefix that matches pattern. + * + * Revision 1.14 1995/10/09 16:18:35 adam * Function dict_lookup_grep got extra client data parameter. * * Revision 1.13 1995/10/06 09:03:51 adam @@ -118,6 +122,7 @@ char *dict_lookup (Dict dict, const Dict_char *p); int dict_lookup_ec (Dict dict, Dict_char *p, int range, int (*f)(Dict_char *name)); int dict_lookup_grep (Dict dict, Dict_char *p, int range, void *client, + int *max_pos, int (*f)(Dict_char *name, const char *info, void *client)); int dict_strcmp (const Dict_char *s1, const Dict_char *s2);