summaryrefslogtreecommitdiff
path: root/source3/tdb/README
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/README')
-rw-r--r--source3/tdb/README5
1 files changed, 3 insertions, 2 deletions
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