diff options
author | Martin Pool <mbp@samba.org> | 2001-12-10 05:08:22 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-12-10 05:08:22 +0000 |
commit | 70f27f1b52b57011c053460b0084e366bfbf03f7 (patch) | |
tree | 4705c0417ef65fb78a763cfda61301422882aad4 /source3/tdb | |
parent | 5fea33ab589efea509079f01c09d84f66d891537 (diff) | |
download | samba-70f27f1b52b57011c053460b0084e366bfbf03f7.tar.gz samba-70f27f1b52b57011c053460b0084e366bfbf03f7.tar.bz2 samba-70f27f1b52b57011c053460b0084e366bfbf03f7.zip |
Doc.
(This used to be commit bb6c0df4bc4eb8ce789886ec17e434dc27bb34b0)
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index f78d4e2bb1..955c0b322d 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -56,6 +56,10 @@ #define TDB_DEAD(r) ((r)->magic == TDB_DEAD_MAGIC) #define TDB_BAD_MAGIC(r) ((r)->magic != TDB_MAGIC && !TDB_DEAD(r)) #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off)) + +/* NB assumes there is a local variable called "tdb" that is the + * current context, also takes doubly-parenthesized print-style + * argument. */ #define TDB_LOG(x) (tdb->log_fn?((tdb->log_fn x),0) : 0) /* lock offsets */ |