diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-07-24 15:41:18 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-07-24 15:41:18 +0000 |
commit | 4414a4b9d8495320e54eaae05572a30b25b4401c (patch) | |
tree | a65e3e411a0ef4a92b00b626d43ef03d12be5fbf /src/include | |
parent | d6f7078aab3050629a63d9b9d92f30e1ca5a9aa1 (diff) | |
download | skalibs-4414a4b9d8495320e54eaae05572a30b25b4401c.tar.xz |
Hide cdb_find_state in the common case
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/cdb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/skalibs/cdb.h b/src/include/skalibs/cdb.h index 73a13ce..42fcb18 100644 --- a/src/include/skalibs/cdb.h +++ b/src/include/skalibs/cdb.h @@ -40,7 +40,8 @@ extern int cdb_init_at (cdb *, int, char const *) ; extern int cdb_init_fromfd (cdb *, int) ; #define cdb_findstart(d) ((d)->loop = 0) -extern int cdb_find (cdb const *, cdb_data *, char const *, uint32_t, cdb_find_state *) ; +extern int cdb_findnext (cdb const *, cdb_data *, char const *, uint32_t, cdb_find_state *) ; +extern int cdb_find (cdb const *, cdb_data *, char const *, uint32_t) ; #define CDB_TRAVERSE_INIT() 2048 #define cdb_traverse_init(pos) (*(pos) = 2048) |