33 #ifndef YAZ_MATCH_STR_H
34 #define YAZ_MATCH_STR_H
47 YAZ_EXPORT
int yaz_matchstr(
const char *s1,
const char *s2);
56 YAZ_EXPORT
int yaz_strcmp_del(
const char *a,
const char *b,
const char *b_del);
68 YAZ_EXPORT
int yaz_memcmp(
const void *a,
const void *b,
69 size_t len_a,
size_t len_b);
79 YAZ_EXPORT
int yaz_strncasecmp(
const char *s1,
const char *s2,
size_t n);
int yaz_memcmp(const void *a, const void *b, size_t len_a, size_t len_b)
compares two buffers of different size
int yaz_strcmp_null(const char *s1, const char *s2)
strcmp, null may be passed
int yaz_strcmp_del(const char *a, const char *b, const char *b_del)
match a and b with some delimitor for b
int yaz_strcasecmp(const char *s1, const char *s2)
ala strcasecmp - no locale
int yaz_matchstr(const char *s1, const char *s2)
match strings - independent of case and '-'
int yaz_strncasecmp(const char *s1, const char *s2, size_t n)
ala strncasecmp - no locale
Header with fundamental macros.