summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-12-10 05:08:22 +0000
committerMartin Pool <mbp@samba.org>2001-12-10 05:08:22 +0000
commitbb6c0df4bc4eb8ce789886ec17e434dc27bb34b0 (patch)
tree035d137734cea35dbfaea79e2a665ba2dfe949de
parentfac685d30f58c25d73d1690ed008c797291558e4 (diff)
downloadsamba-bb6c0df4bc4eb8ce789886ec17e434dc27bb34b0.tar.gz
samba-bb6c0df4bc4eb8ce789886ec17e434dc27bb34b0.tar.xz
samba-bb6c0df4bc4eb8ce789886ec17e434dc27bb34b0.zip
Doc.
-rw-r--r--source/tdb/tdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index f78d4e2bb14..955c0b322df 100644
--- a/source/tdb/tdb.c
+++ b/source/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 */