summaryrefslogtreecommitdiff
path: root/source3/tdb/README
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-17 00:16:40 +0000
committerTim Potter <tpot@samba.org>2000-02-17 00:16:40 +0000
commitc988b69dfc061a0f4f464f2a11e4d5509e1e61e4 (patch)
tree5ff6ad6c266ad6290a45467307a2ee6ebed89353 /source3/tdb/README
parent590d92c77a1eb2db1aeeff2688e671458fbdba5d (diff)
downloadsamba-c988b69dfc061a0f4f464f2a11e4d5509e1e61e4.tar.gz
samba-c988b69dfc061a0f4f464f2a11e4d5509e1e61e4.tar.bz2
samba-c988b69dfc061a0f4f464f2a11e4d5509e1e61e4.zip
Updated docs for tdb_traverse.
(This used to be commit 8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)
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