From: Adam Dickmeiss Date: Fri, 2 Feb 1996 13:44:43 +0000 (+0000) Subject: The public dictionary functions simply use char instead of Dict_char X-Git-Tag: ZEBRA.1.0~551 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=c8ecacb7e0284165e2249e117a0b859d75e297f0 The public dictionary functions simply use char instead of Dict_char to represent search strings. Dict_char is used internally only. --- diff --git a/index/dirs.c b/index/dirs.c index 7d99db5..83279a5 100644 --- a/index/dirs.c +++ b/index/dirs.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dirs.c,v $ - * Revision 1.5 1996-01-17 14:54:44 adam + * Revision 1.6 1996-02-02 13:44:43 adam + * The public dictionary functions simply use char instead of Dict_char + * to represent search strings. Dict_char is used internally only. + * + * Revision 1.5 1996/01/17 14:54:44 adam * Function dirs_rmdir uses dict_delete. * * Revision 1.4 1995/11/30 08:34:27 adam @@ -41,7 +45,7 @@ struct dirs_info { struct dirs_entry *last_entry; }; -static int dirs_client_proc (Dict_char *name, const char *info, int pos, +static int dirs_client_proc (char *name, const char *info, int pos, void *client) { struct dirs_info *ci = client; diff --git a/index/zrpn.c b/index/zrpn.c index 8e8ecc0..f7a2330 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zrpn.c,v $ - * Revision 1.39 1996-01-03 16:22:13 quinn + * Revision 1.40 1996-02-02 13:44:44 adam + * The public dictionary functions simply use char instead of Dict_char + * to represent search strings. Dict_char is used internally only. + * + * Revision 1.39 1996/01/03 16:22:13 quinn * operator->roperator * * Revision 1.38 1995/12/11 09:12:55 adam @@ -494,7 +498,7 @@ static void add_isam_p (const char *info, struct grep_info *p) (p->isam_p_indx)++; } -static int grep_handle (Dict_char *name, const char *info, void *p) +static int grep_handle (char *name, const char *info, void *p) { logf (LOG_DEBUG, "dict name: %s", name); add_isam_p (info, p); @@ -1280,8 +1284,7 @@ struct scan_info { char prefix[20]; }; -static int scan_handle (Dict_char *name, const char *info, int pos, - void *client) +static int scan_handle (char *name, const char *info, int pos, void *client) { int len_prefix, idx; ISAM_P isam_p; @@ -1316,7 +1319,7 @@ static int scan_handle (Dict_char *name, const char *info, int pos, } -static int dummy_handle (Dict_char *name, const char *info, void *p) +static int dummy_handle (char *name, const char *info, void *p) { return 0; }