X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fdict.h;h=da758198ee07b331048e51bc2fb68dad37aad4ae;hb=ef9dd3a80ee0fa95abeeb0a0e2d66856b6dd2d05;hp=a5f1eeb8ef493db2679c411712d7b1e376ef753a;hpb=30bfffa1e13e0ebd1d7eac84518705e2fbcd955b;p=idzebra-moved-to-github.git diff --git a/include/dict.h b/include/dict.h index a5f1eeb..da75819 100644 --- a/include/dict.h +++ b/include/dict.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dict.h,v $ - * Revision 1.10 1994-10-05 12:16:58 adam + * Revision 1.12 1995-09-14 11:53:02 adam + * Grep handle function parameter info is const now. + * + * Revision 1.11 1995/09/04 09:09:51 adam + * String arg in dict lookup is const. + * Minor changes. + * + * Revision 1.10 1994/10/05 12:16:58 adam * Pagesize is a resource now. * * Revision 1.9 1994/10/04 12:08:19 adam @@ -101,11 +108,11 @@ Dict dict_open (const char *name, int cache, int rw); int dict_close (Dict dict); int dict_insert (Dict dict, const Dict_char *p, int userlen, void *userinfo); -char *dict_lookup (Dict dict, Dict_char *p); +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, - int (*f)(Dict_char *name, char *info)); + int (*f)(Dict_char *name, const char *info)); int dict_strcmp (const Dict_char *s1, const Dict_char *s2); int dict_strlen (const Dict_char *s);