summaryrefslogtreecommitdiff
path: root/src/libstddjb/cdb_find.c
blob: ebf900d586fb560e6f6c80afd0daffe6c84ad675 (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/cdb.h>

int cdb_find (cdb const *c, cdb_data *out, char const *key, uint32_t len)
{
  cdb_find_state cfs = CDB_FIND_STATE_ZERO ;
  return cdb_findnext(c, out, key, len, &cfs) ;
}