summaryrefslogtreecommitdiff
path: root/src/config/util.c
blob: f3da28754d5ed9b5a4d42672707d6ea8d4e81f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* ISC license. */

#include <string.h>

#include "shibari-cache-config-internal.h"

struct starts_with_a_string_key_s
{
  char const *s ;
} ;

int keycmp (void const *a, void const *b)
{
  return strcmp((char const *)a, ((struct starts_with_a_string_key_s const *)b)->s) ;
}