1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2008 Index Data
3 * See the file LICENSE for details.
8 * \brief Implements loose string matching
19 #include <yaz/yaz-util.h>
21 int yaz_matchstr(const char *s1, const char *s2)
25 unsigned char c1 = *s1;
26 unsigned char c2 = *s2;
51 int yaz_strcmp_del(const char *a, const char *b, const char *b_del)
60 if (b_del && strchr(b_del, *b))
67 void __assert_fail (const char *assertion, const char *file,
68 unsigned int line, const char *function)
70 fprintf (stderr, "%s in file %s line %d func %s\n",
71 assertion, file, line, function);
79 * indent-tabs-mode: nil
81 * vim: shiftwidth=4 tabstop=8 expandtab