summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/docs/README
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-18 17:05:17 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-18 17:05:17 +1100
commit130db062bf53cff39fd2d5ac4d5766dc0a98663e (patch)
tree5165b525cc3d0927dcd816c9c91b444984bb429a /source4/lib/tdb/docs/README
parent391f089d71b4b51a130819ab681dcd1253f16b8c (diff)
parent61a015a786c52008f4471e62750ad93507bce518 (diff)
downloadsamba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.tar.gz
samba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.tar.bz2
samba-130db062bf53cff39fd2d5ac4d5766dc0a98663e.zip
Merge commit 'origin/v4-0-test' into 4-0-local
(This used to be commit 51422414bed28f425197519298c6b04a9f4e2c4e)
Diffstat (limited to 'source4/lib/tdb/docs/README')
-rw-r--r--source4/lib/tdb/docs/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/docs/README b/source4/lib/tdb/docs/README
index b31ce36ab1..63fcf5e049 100644
--- a/source4/lib/tdb/docs/README
+++ b/source4/lib/tdb/docs/README
@@ -130,6 +130,9 @@ int tdb_traverse(TDB_CONTEXT *tdb, int (*fn)(TDB_CONTEXT *tdb,
a non-zero return value from fn() indicates that the traversal
should stop. Traversal callbacks may not start transactions.
+ WARNING: The data buffer given to the callback fn does NOT meet the
+ alignment restrictions malloc gives you.
+
----------------------------------------------------------------------
int tdb_traverse_read(TDB_CONTEXT *tdb, int (*fn)(TDB_CONTEXT *tdb,
TDB_DATA key, TDB_DATA dbuf, void *state), void *state);