blob: 897bffbb384174f27cd9f5c2fa2f79ae493acf02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Copyright (c) 2016-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "sort.h"
#include <string.h>
#include <strings.h>
int bsearch_strcmp(const char *key, const char *const *member)
{
return strcmp(key, *member);
}
int bsearch_strcasecmp(const char *key, const char *const *member)
{
return strcasecmp(key, *member);
}
|