2 * Copyright (c) 1995-2003, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
6 * $Id: matchstr.c,v 1.6 2003-02-12 15:06:44 adam Exp $
15 #include <yaz/yaz-util.h>
18 * Match strings, independently of case and occurences of '-'.
19 * fairly inefficient - will be replaced with an indexing scheme for
20 * the various subsystems if we get a bottleneck here.
23 int yaz_matchstr(const char *s1, const char *s2)
53 int yaz_strcmp_del(const char *a, const char *b, const char *b_del)
62 if (b_del && strchr(b_del, *b))
69 void __assert_fail (const char *assertion, const char *file,
70 unsigned int line, const char *function)
72 fprintf (stderr, "%s in file %s line %d func %s\n",
73 assertion, file, line, function);