From c988b69dfc061a0f4f464f2a11e4d5509e1e61e4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 17 Feb 2000 00:16:40 +0000 Subject: Updated docs for tdb_traverse. (This used to be commit 8cbc7dfa031cb66d1f011705b6bd76d56c68cae5) --- source3/tdb/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/tdb/README b/source3/tdb/README index 7901bf1c42..9eef521075 100644 --- a/source3/tdb/README +++ b/source3/tdb/README @@ -101,9 +101,10 @@ int tdb_exists(TDB_CONTEXT *tdb, TDB_DATA key); ---------------------------------------------------------------------- int tdb_traverse(TDB_CONTEXT *tdb, int (*fn)(TDB_CONTEXT *tdb, - TDB_DATA key, TDB_DATA dbuf)); + TDB_DATA key, TDB_DATA dbuf, void *state), void *state); - traverse the entire database - calling fn(tdb, key, data) on each element. + traverse the entire database - calling fn(tdb, key, data, state) on each + element. return -1 on error or the record count traversed -- cgit