summary refs log tree commit diff
path: root/src/libstddjb/cdb_find.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-07-24 15:04:18 +0000
committerLaurent Bercot <ska@appnovation.com>2021-07-24 15:04:18 +0000
commitd6f7078aab3050629a63d9b9d92f30e1ca5a9aa1 (patch)
tree89582baaf2e88fa8341b08c8b9097bc5161cb59f /src/libstddjb/cdb_find.c
parentdd6bb6c6b8298ebeff2d1882becb36580b969d6f (diff)
downloadskalibs-d6f7078aab3050629a63d9b9d92f30e1ca5a9aa1.tar.gz
skalibs-d6f7078aab3050629a63d9b9d92f30e1ca5a9aa1.tar.xz
skalibs-d6f7078aab3050629a63d9b9d92f30e1ca5a9aa1.zip
Add cdb_init_at and cdb_init_fromfd, rename cdb_reader
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/cdb_find.c')
-rw-r--r--src/libstddjb/cdb_find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/cdb_find.c b/src/libstddjb/cdb_find.c
index a9c66e3..af642cc 100644
--- a/src/libstddjb/cdb_find.c
+++ b/src/libstddjb/cdb_find.c
@@ -7,7 +7,7 @@
 #include <skalibs/cdb.h>
 #include "cdb-internal.h"
 
-int cdb_find (cdb const *c, cdb_reader *d, cdb_data *out, char const *key, uint32_t len)
+int cdb_find (cdb const *c, cdb_data *out, char const *key, uint32_t len, cdb_find_state *d)
 {
   if (!d->loop)
   {