diff options
Diffstat (limited to 'source3/lib/tdb/docs/README')
-rw-r--r-- | source3/lib/tdb/docs/README | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/tdb/docs/README b/source3/lib/tdb/docs/README index b31ce36ab1..63fcf5e049 100644 --- a/source3/lib/tdb/docs/README +++ b/source3/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); |